#2D4F7C#2D4F7C
#2D4F7C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.085 H 256.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4F7C |
|---|---|
| RGB | rgb(45, 79, 124) |
| HSL | hsl(214, 47%, 33%) |
| HSV | hsv(214, 64%, 49%) |
| CMYK | cmyk(63.7%, 36.3%, 0%, 51.4%) |
| CIE-LAB | lab(33.15, 2.77, -29.21) |
| CIE-LCH | lch(33.15, 29.35, 275.42°) |
| OKLab | oklab(42.42% -0.0206 -0.0827) |
| OKLCH | oklch(42.42% 0.085 256) |
| XYZ | xyz(7.5150, 7.6044, 20.1366) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.66
Light Navy
#155084
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 3.72
Light Navy Blue
#2E5A88
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 4.44
Prussian Blue
#004577
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4F7C #7C5A2D
analogous
#2D767C #2D4F7C #322D7C
triadic
#2D4F7C #7C2D4F #4F7C2D
tetradic
#2D4F7C #7C2D76 #7C5A2D #2D7C32
square
#2D4F7C #7C2D76 #7C5A2D #2D7C32
split-complementary
#2D4F7C #7C322D #767C2D
monochromatic
#0C1622 #1D324F #2D4F7C #3D6CA9 #5F8BC5
Accessibility & contrast
On white
8.33
#2D4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2D4F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4F7C
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4F7C | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#314B7B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d4f7c; /* rgb */ color: rgb(45, 79, 124); /* oklch */ color: oklch(42.4% 0.085 256.0);
Tailwind
colors: {
custom: {
50: '#6e80a2',
500: '#2d4f7c',
950: '#000000',
},
}SCSS
$custom: #2d4f7c; $custom-light: #6e80a2; $custom-dark: #000000;
JSON
{
"hex": "#2d4f7c",
"rgb": {
"r": 45,
"g": 79,
"b": 124
},
"hsl": {
"h": 214.177,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.42419,
"c": 0.08527,
"h": 256
},
"luminance": 0.07605
}Semantic roles & 50–950 ramp
primary
#2D4F7C
secondary
#AB885A
accent
#9D51D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F