#2D4399#2D4399
#2D4399 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.143 H 268.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4399 |
|---|---|
| RGB | rgb(45, 67, 153) |
| HSL | hsl(228, 55%, 39%) |
| HSV | hsv(228, 71%, 60%) |
| CMYK | cmyk(70.6%, 56.2%, 0%, 40%) |
| CIE-LAB | lab(31.51, 21.72, -49.64) |
| CIE-LCH | lch(31.51, 54.19, 293.63°) |
| OKLab | oklab(41.77% -0.0034 -0.1429) |
| OKLCH | oklch(41.77% 0.143 268.6) |
| XYZ | xyz(8.8371, 6.8712, 30.9914) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 4.00
Sapphire (survey)
#2138AB
ΔE00 4.60
Blueberry
#464196
ΔE00 4.63
Darkish Blue
#014182
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4399 #99832D
analogous
#2D7999 #2D4399 #4D2D99
triadic
#2D4399 #992D43 #43992D
tetradic
#2D4399 #992D79 #99832D #2D994D
square
#2D4399 #992D79 #99832D #2D994D
split-complementary
#2D4399 #994D2D #79992D
monochromatic
#111A3A #1F2E6A #2D4399 #3D59C6 #6C82D4
Accessibility & contrast
On white
8.84
#2D4399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2D4399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4399
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4399 | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d4399; /* rgb */ color: rgb(45, 67, 153); /* oklch */ color: oklch(41.8% 0.143 268.6);
Tailwind
colors: {
custom: {
50: '#7476b8',
500: '#2d4399',
950: '#000000',
},
}SCSS
$custom: #2d4399; $custom-light: #7476b8; $custom-dark: #000000;
JSON
{
"hex": "#2d4399",
"rgb": {
"r": 45,
"g": 67,
"b": 153
},
"hsl": {
"h": 227.778,
"s": 54.545,
"l": 38.824
},
"oklch": {
"l": 0.41774,
"c": 0.14293,
"h": 268.6
},
"luminance": 0.06872
}Semantic roles & 50–950 ramp
primary
#2D4399
secondary
#BBAA67
accent
#C04ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80