#2F416F#2F416F
#2F416F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.082 H 266.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F416F |
|---|---|
| RGB | rgb(47, 65, 111) |
| HSL | hsl(223, 41%, 31%) |
| HSV | hsv(223, 58%, 44%) |
| CMYK | cmyk(57.7%, 41.4%, 0%, 56.5%) |
| CIE-LAB | lab(28.20, 7.80, -28.87) |
| CIE-LCH | lch(28.20, 29.91, 285.12°) |
| OKLab | oklab(38.37% -0.0051 -0.0818) |
| OKLCH | oklch(38.37% 0.082 266.5) |
| XYZ | xyz(5.9309, 5.5322, 15.7911) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 5.72
Marine Blue
#01386A
ΔE00 5.80
Darkish Blue
#014182
ΔE00 5.83
Cobalt (survey)
#1E488F
ΔE00 6.00
Marine
#042E60
ΔE00 6.84
Prussian Blue
#004577
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F416F #6F5D2F
analogous
#2F616F #2F416F #3D2F6F
triadic
#2F416F #6F2F41 #416F2F
tetradic
#2F416F #6F2F61 #6F5D2F #2F6F3D
square
#2F416F #6F2F61 #6F5D2F #2F6F3D
split-complementary
#2F416F #6F3D2F #616F2F
monochromatic
#0B0F19 #1D2844 #2F416F #415A9A #5E78BB
Accessibility & contrast
On white
9.97
#2F416F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2F416F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F416F
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F416F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F416F | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4671
Deuteranopia (green-blind)
#26406E
Tritanopia (blue-blind)
#0B4B52
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f416f; /* rgb */ color: rgb(47, 65, 111); /* oklch */ color: oklch(38.4% 0.082 266.5);
Tailwind
colors: {
custom: {
50: '#6d7598',
500: '#2f416f',
950: '#000000',
},
}SCSS
$custom: #2f416f; $custom-light: #6d7598; $custom-dark: #000000;
JSON
{
"hex": "#2f416f",
"rgb": {
"r": 47,
"g": 65,
"b": 111
},
"hsl": {
"h": 223.125,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.38371,
"c": 0.082,
"h": 266.5
},
"luminance": 0.05533
}Semantic roles & 50–950 ramp
primary
#2F416F
secondary
#A08C59
accent
#AE57D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E