#2F334C#2F334C
#2F334C is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.9% C 0.045 H 276.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F334C |
|---|---|
| RGB | rgb(47, 51, 76) |
| HSL | hsl(232, 24%, 24%) |
| HSV | hsv(232, 38%, 30%) |
| CMYK | cmyk(38.2%, 32.9%, 0%, 70.2%) |
| CIE-LAB | lab(21.92, 5.39, -15.93) |
| CIE-LCH | lch(21.92, 16.82, 288.70°) |
| OKLab | oklab(32.89% 0.0052 -0.0443) |
| OKLCH | oklch(32.89% 0.045 276.7) |
| XYZ | xyz(3.6603, 3.4937, 7.3176) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.07
Dark
#1B2431
ΔE00 8.69
Marine
#042E60
ΔE00 9.60
Marine Blue
#01386A
ΔE00 10.87
Navy (survey)
#01153E
ΔE00 11.19
Dark Blue Grey
#1F3B4D
ΔE00 11.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F334C #4C482F
analogous
#2F424C #2F334C #3A2F4C
triadic
#2F334C #4C2F33 #334C2F
tetradic
#2F334C #4C2F42 #4C482F #2F4C3A
square
#2F334C #4C2F42 #4C482F #2F4C3A
split-complementary
#2F334C #4C3A2F #424C2F
monochromatic
#0C0D13 #181A26 #2F334C #464C72 #5E6698
Accessibility & contrast
On white
12.36
#2F334C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2F334C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F334C
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F334C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F334C | 1.00 | 12.36 | 1.70 | 12.36 |
| #FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B364D
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#27383C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f334c; /* rgb */ color: rgb(47, 51, 76); /* oklch */ color: oklch(32.9% 0.045 276.7);
Tailwind
colors: {
custom: {
50: '#686a7e',
500: '#2f334c',
950: '#000000',
},
}SCSS
$custom: #2f334c; $custom-light: #686a7e; $custom-dark: #000000;
JSON
{
"hex": "#2f334c",
"rgb": {
"r": 47,
"g": 51,
"b": 76
},
"hsl": {
"h": 231.724,
"s": 23.577,
"l": 24.118
},
"oklch": {
"l": 0.32888,
"c": 0.04463,
"h": 276.7
},
"luminance": 0.03494
}Semantic roles & 50–950 ramp
primary
#2F334C
secondary
#7D785A
accent
#B468C0
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C