#2F367D#2F367D
#2F367D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.119 H 274.7°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F367D |
|---|---|
| RGB | rgb(47, 54, 125) |
| HSL | hsl(235, 45%, 34%) |
| HSV | hsv(235, 62%, 49%) |
| CMYK | cmyk(62.4%, 56.8%, 0%, 51%) |
| CIE-LAB | lab(25.93, 20.45, -41.36) |
| CIE-LCH | lch(25.93, 46.14, 296.31°) |
| OKLab | oklab(36.95% 0.0098 -0.1187) |
| OKLCH | oklch(36.95% 0.119 274.7) |
| XYZ | xyz(6.1919, 4.7229, 19.9834) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.90
Blueberry
#464196
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 7.15
Marine
#042E60
ΔE00 7.26
Cobalt (survey)
#1E488F
ΔE00 7.78
Marine Blue
#01386A
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F367D #7D762F
analogous
#2F5D7D #2F367D #4F2F7D
triadic
#2F367D #7D2F36 #367D2F
tetradic
#2F367D #7D2F5D #7D762F #2F7D4F
square
#2F367D #7D2F5D #7D762F #2F7D4F
split-complementary
#2F367D #7D4F2F #5D7D2F
monochromatic
#0E1024 #1E2351 #2F367D #4049A9 #626BC4
Accessibility & contrast
On white
10.80
#2F367D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F367D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F367D
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F367D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F367D | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#04417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f367d; /* rgb */ color: rgb(47, 54, 125); /* oklch */ color: oklch(36.9% 0.119 274.7);
Tailwind
colors: {
custom: {
50: '#706ca3',
500: '#2f367d',
950: '#000000',
},
}SCSS
$custom: #2f367d; $custom-light: #706ca3; $custom-dark: #000000;
JSON
{
"hex": "#2f367d",
"rgb": {
"r": 47,
"g": 54,
"b": 125
},
"hsl": {
"h": 234.615,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.36946,
"c": 0.11907,
"h": 274.7
},
"luminance": 0.04723
}Semantic roles & 50–950 ramp
primary
#2F367D
secondary
#ABA45D
accent
#C953D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F