#2D4F7D#2D4F7D
#2D4F7D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.087 H 256.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4F7D |
|---|---|
| RGB | rgb(45, 79, 125) |
| HSL | hsl(215, 47%, 33%) |
| HSV | hsv(215, 64%, 49%) |
| CMYK | cmyk(64%, 36.8%, 0%, 51%) |
| CIE-LAB | lab(33.20, 3.14, -29.75) |
| CIE-LCH | lch(33.20, 29.91, 276.02°) |
| OKLab | oklab(42.48% -0.0204 -0.0843) |
| OKLCH | oklch(42.48% 0.087 256.4) |
| XYZ | xyz(7.5785, 7.6298, 20.4714) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.58
Light Navy
#155084
ΔE00 3.25
Cobalt (survey)
#1E488F
ΔE00 3.61
Light Navy Blue
#2E5A88
ΔE00 4.13
Twilight Blue
#0A437A
ΔE00 4.44
Denim Blue
#3B5B92
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4F7D #7D5B2D
analogous
#2D777D #2D4F7D #332D7D
triadic
#2D4F7D #7D2D4F #4F7D2D
tetradic
#2D4F7D #7D2D77 #7D5B2D #2D7D33
square
#2D4F7D #7D2D77 #7D5B2D #2D7D33
split-complementary
#2D4F7D #7D332D #777D2D
monochromatic
#0D1623 #1D3350 #2D4F7D #3D6BAA #5F8BC5
Accessibility & contrast
On white
8.31
#2D4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2D4F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4F7D
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4F7D | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d4f7d; /* rgb */ color: rgb(45, 79, 125); /* oklch */ color: oklch(42.5% 0.087 256.4);
Tailwind
colors: {
custom: {
50: '#6e80a3',
500: '#2d4f7d',
950: '#000000',
},
}SCSS
$custom: #2d4f7d; $custom-light: #6e80a3; $custom-dark: #000000;
JSON
{
"hex": "#2d4f7d",
"rgb": {
"r": 45,
"g": 79,
"b": 125
},
"hsl": {
"h": 214.5,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.4248,
"c": 0.08671,
"h": 256.4
},
"luminance": 0.07631
}Semantic roles & 50–950 ramp
primary
#2D4F7D
secondary
#AC895A
accent
#9E51D7
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F