#2D4F99#2D4F99
#2D4F99 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.127 H 263.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4F99 |
|---|---|
| RGB | rgb(45, 79, 153) |
| HSL | hsl(221, 55%, 39%) |
| HSV | hsv(221, 71%, 60%) |
| CMYK | cmyk(70.6%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(34.90, 13.66, -44.17) |
| CIE-LCH | lch(34.90, 46.24, 287.19°) |
| OKLab | oklab(44.35% -0.0144 -0.1266) |
| OKLCH | oklch(44.35% 0.127 263.5) |
| XYZ | xyz(9.6259, 8.4488, 31.2543) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.76
Dusk Blue
#26538D
ΔE00 3.23
Cobalt
#0047AB
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 4.40
Light Navy Blue
#2E5A88
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4F99 #99772D
analogous
#2D8599 #2D4F99 #412D99
triadic
#2D4F99 #992D4F #4F992D
tetradic
#2D4F99 #992D85 #99772D #2D9941
square
#2D4F99 #992D85 #99772D #2D9941
split-complementary
#2D4F99 #99412D #85992D
monochromatic
#111E3A #1F376A #2D4F99 #3D68C6 #6C8DD4
Accessibility & contrast
On white
7.81
#2D4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2D4F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4F99
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4F99 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2d4f99; /* rgb */ color: rgb(45, 79, 153); /* oklch */ color: oklch(44.3% 0.127 263.5);
Tailwind
colors: {
custom: {
50: '#737fb7',
500: '#2d4f99',
950: '#000000',
},
}SCSS
$custom: #2d4f99; $custom-light: #737fb7; $custom-dark: #000000;
JSON
{
"hex": "#2d4f99",
"rgb": {
"r": 45,
"g": 79,
"b": 153
},
"hsl": {
"h": 221.111,
"s": 54.545,
"l": 38.824
},
"oklch": {
"l": 0.44345,
"c": 0.12741,
"h": 263.5
},
"luminance": 0.0845
}Semantic roles & 50–950 ramp
primary
#2D4F99
secondary
#BBA067
accent
#AF4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80