#00008B

Navy

#00008BNavy

Luminance

0.019

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#00008B
No #
00008B

RGB

RGB
rgb(0, 0, 139)
Values
R:0 G:0 B:139

HSL

HSL
hsl(240, 100%, 27%)
Values
H:240° S:100% L:27%

HSV / HSB

HSV
hsv(240, 100%, 55%)
Values
H:240° S:100% V:55%

CMYK

CMYK
cmyk(100%, 100%, 0%, 45%)
Values
C:100 M:100 Y:0 K:45

LAB

LAB
lab(15, 50, -69)
Values
L:15 a:50 b:-69

OKLCH

OKLCH
oklch(28.8% 0.199 264.1)
Values
L:28.8% C:0.199 H:264.1°

Code Formats

CSS
color: #00008B;
Swift
UIColor(red: 0.000, green: 0.000, blue: 0.545, alpha: 1.0)
Kotlin
Color(0xFF00008B)
Flutter
Color(0xFF00008B)
Android
#FF00008B

Contrast Analysis

WCAG compliance with grayscale colors

On White

15.30:1

AAA

On Black

1.37:1

Fail

Grayscale Contrast

Aa

0%

1.4

Fail
Aa

10%

1.1

Fail
Aa

20%

1.2

Fail
Aa

30%

1.8

Fail
Aa

40%

2.7

Fail
Aa

50%

3.8

AA-large
Aa

60%

5.4

AA
Aa

70%

7.3

AAA
Aa

80%

9.5

AAA
Aa

90%

12.1

AAA
Aa

100%

15.3

AAA

Best Grayscale Contrast

#FFFFFF with ratio 15.30:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #0000F0 0%, #000080 100%)
OKLCH
linear-gradient(90deg, oklch(43.2% 0.299 264.1) 0%, oklch(27.1% 0.188 264.1) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #0000BD 0%, #0000CC 100%)
OKLCH
linear-gradient(135deg, oklch(36.1% 0.250 264.1) 0%, oklch(38.2% 0.265 264.1) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #00008B 0%, #8A8A00 100%)
OKLCH
linear-gradient(90deg, oklch(28.8% 0.199 264.1) 0%, oklch(61.3% 0.134 109.8) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #00458A 0%, #00008B 50%, #45008A 100%)
OKLCH
linear-gradient(90deg, oklch(39.6% 0.130 254.9) 0%, oklch(28.8% 0.199 264.1) 50%, oklch(33.9% 0.186 295.5) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #00008A 0%, #090934 100%)
OKLCH
linear-gradient(180deg, oklch(28.6% 0.198 264.1) 0%, oklch(17.8% 0.082 274.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #0000D6 0%, #000099 100%)
OKLCH
radial-gradient(circle, oklch(39.6% 0.274 264.1) 0%, oklch(30.9% 0.214 264.1) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette