#1A237E

Navy

#1A237ENavy

Luminance

0.029

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#1A237E
No #
1A237E

RGB

RGB
rgb(26, 35, 126)
Values
R:26 G:35 B:126

HSL

HSL
hsl(235, 66%, 30%)
Values
H:235° S:66% L:30%

HSV / HSB

HSV
hsv(235, 79%, 49%)
Values
H:235° S:79% V:49%

CMYK

CMYK
cmyk(79%, 72%, 0%, 51%)
Values
C:79 M:72 Y:0 K:51

LAB

LAB
lab(20, 31, -52)
Values
L:20 a:31 b:-52

OKLCH

OKLCH
oklch(32.1% 0.151 270.3)
Values
L:32.1% C:0.151 H:270.3°

Code Formats

CSS
color: #1A237E;
Swift
UIColor(red: 0.102, green: 0.137, blue: 0.494, alpha: 1.0)
Kotlin
Color(0xFF1A237E)
Flutter
Color(0xFF1A237E)
Android
#FF1A237E

Contrast Analysis

WCAG compliance with grayscale colors

On White

13.24:1

AAA

On Black

1.59:1

Fail

Grayscale Contrast

Aa

0%

1.6

Fail
Aa

10%

1.3

Fail
Aa

20%

1.0

Fail
Aa

30%

1.6

Fail
Aa

40%

2.3

Fail
Aa

50%

3.3

AA-large
Aa

60%

4.6

AA
Aa

70%

6.3

AA
Aa

80%

8.2

AAA
Aa

90%

10.5

AAA
Aa

100%

13.2

AAA

Best Grayscale Contrast

#FFFFFF with ratio 13.24: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, #2B39D4 0%, #161D6A 100%)
OKLCH
linear-gradient(90deg, oklch(45.5% 0.231 269.3) 0%, oklch(28.6% 0.132 270.9) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #1321B9 0%, #0919C3 100%)
OKLCH
linear-gradient(135deg, oklch(38.4% 0.227 266.6) 0%, oklch(38.6% 0.245 265.2) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #1A237E 0%, #7F771A 100%)
OKLCH
linear-gradient(90deg, oklch(32.1% 0.151 270.3) 0%, oklch(56.0% 0.109 104.3) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #1A557F 0%, #1A237E 50%, #441A7F 100%)
OKLCH
linear-gradient(90deg, oklch(43.3% 0.091 244.1) 0%, oklch(32.1% 0.151 270.3) 50%, oklch(34.6% 0.156 295.9) 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, #1A227F 0%, #14152A 100%)
OKLCH
linear-gradient(180deg, oklch(32.0% 0.153 270.4) 0%, oklch(20.7% 0.041 280.1) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #2734BE 0%, #1A227F 100%)
OKLCH
radial-gradient(circle, oklch(42.3% 0.211 269.5) 0%, oklch(32.0% 0.153 270.4) 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