#2D334F#2D334F
#2D334F is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.9% C 0.050 H 274.1°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2D334F |
|---|---|
| RGB | rgb(45, 51, 79) |
| HSL | hsl(229, 27%, 24%) |
| HSV | hsv(229, 43%, 31%) |
| CMYK | cmyk(43%, 35.4%, 0%, 69%) |
| CIE-LAB | lab(21.91, 5.71, -17.97) |
| CIE-LCH | lch(21.91, 18.86, 287.62°) |
| OKLab | oklab(32.89% 0.0036 -0.0503) |
| OKLCH | oklch(32.89% 0.05 274.1) |
| XYZ | xyz(3.6769, 3.4899, 7.8755) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.23
Marine
#042E60
ΔE00 8.36
Dark
#1B2431
ΔE00 9.12
Marine Blue
#01386A
ΔE00 9.72
Navy (survey)
#01153E
ΔE00 10.50
Dark Blue Grey
#1F3B4D
ΔE00 11.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D334F #4F492D
analogous
#2D444F #2D334F #382D4F
triadic
#2D334F #4F2D33 #334F2D
tetradic
#2D334F #4F2D44 #4F492D #2D4F38
square
#2D334F #4F2D44 #4F492D #2D4F38
split-complementary
#2D334F #4F382D #444F2D
monochromatic
#0B0D13 #171A28 #2D334F #434C76 #59659D
Accessibility & contrast
On white
12.37
#2D334F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2D334F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D334F
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D334F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D334F | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#27334E
Tritanopia (blue-blind)
#23393D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2d334f; /* rgb */ color: rgb(45, 51, 79); /* oklch */ color: oklch(32.9% 0.050 274.1);
Tailwind
colors: {
custom: {
50: '#676a80',
500: '#2d334f',
950: '#000000',
},
}SCSS
$custom: #2d334f; $custom-light: #676a80; $custom-dark: #000000;
JSON
{
"hex": "#2d334f",
"rgb": {
"r": 45,
"g": 51,
"b": 79
},
"hsl": {
"h": 229.412,
"s": 27.419,
"l": 24.314
},
"oklch": {
"l": 0.32886,
"c": 0.05038,
"h": 274.1
},
"luminance": 0.0349
}Semantic roles & 50–950 ramp
primary
#2D334F
secondary
#817957
accent
#B364C4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C