#2D4D9F#2D4D9F
#2D4D9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.139 H 265.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4D9F |
|---|---|
| RGB | rgb(45, 77, 159) |
| HSL | hsl(223, 56%, 40%) |
| HSV | hsv(223, 72%, 62%) |
| CMYK | cmyk(71.7%, 51.6%, 0%, 37.6%) |
| CIE-LAB | lab(34.74, 17.28, -48.05) |
| CIE-LCH | lch(34.74, 51.07, 289.78°) |
| OKLab | oklab(44.35% -0.0117 -0.138) |
| OKLCH | oklch(44.35% 0.139 265.1) |
| XYZ | xyz(9.9919, 8.3678, 33.8827) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.13
Cobalt
#0047AB
ΔE00 3.14
Sapphire
#0F52BA
ΔE00 4.08
Dusk Blue
#26538D
ΔE00 4.37
Denim Blue
#3B5B92
ΔE00 5.14
Darkish Blue
#014182
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4D9F #9F7F2D
analogous
#2D869F #2D4D9F #462D9F
triadic
#2D4D9F #9F2D4D #4D9F2D
tetradic
#2D4D9F #9F2D86 #9F7F2D #2D9F46
square
#2D4D9F #9F2D86 #9F7F2D #2D9F46
split-complementary
#2D4D9F #9F462D #869F2D
monochromatic
#121F40 #20366F #2D4D9F #4067C9 #708DD6
Accessibility & contrast
On white
7.85
#2D4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2D4D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4D9F
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4D9F | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2d4d9f; /* rgb */ color: rgb(45, 77, 159); /* oklch */ color: oklch(44.4% 0.139 265.1);
Tailwind
colors: {
custom: {
50: '#757ebc',
500: '#2d4d9f',
950: '#000000',
},
}SCSS
$custom: #2d4d9f; $custom-light: #757ebc; $custom-dark: #000000;
JSON
{
"hex": "#2d4d9f",
"rgb": {
"r": 45,
"g": 77,
"b": 159
},
"hsl": {
"h": 223.158,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.44352,
"c": 0.13855,
"h": 265.1
},
"luminance": 0.08369
}Semantic roles & 50–950 ramp
primary
#2D4D9F
secondary
#BEA66A
accent
#B549DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81