#2F3671#2F3671
#2F3671 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.101 H 275.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3671 |
|---|---|
| RGB | rgb(47, 54, 113) |
| HSL | hsl(234, 41%, 31%) |
| HSV | hsv(234, 58%, 44%) |
| CMYK | cmyk(58.4%, 52.2%, 0%, 55.7%) |
| CIE-LAB | lab(25.06, 16.08, -35.16) |
| CIE-LCH | lch(25.06, 38.66, 294.57°) |
| OKLab | oklab(36.01% 0.0089 -0.1004) |
| OKLCH | oklch(36.01% 0.101 275.1) |
| XYZ | xyz(5.4711, 4.4345, 16.1872) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.12
Marine
#042E60
ΔE00 6.41
Blueberry
#464196
ΔE00 7.16
Marine Blue
#01386A
ΔE00 7.43
Navy Blue
#1B2A4A
ΔE00 7.78
Darkish Blue
#014182
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3671 #716A2F
analogous
#2F5771 #2F3671 #492F71
triadic
#2F3671 #712F36 #36712F
tetradic
#2F3671 #712F57 #716A2F #2F7149
square
#2F3671 #712F57 #716A2F #2F7149
split-complementary
#2F3671 #71492F #57712F
monochromatic
#0B0D1B #1D2146 #2F3671 #414B9C #5E68BC
Accessibility & contrast
On white
11.13
#2F3671 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F3671 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3671
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3671 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3671 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#0E3970
Tritanopia (blue-blind)
#0B434E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f3671; /* rgb */ color: rgb(47, 54, 113); /* oklch */ color: oklch(36.0% 0.101 275.1);
Tailwind
colors: {
custom: {
50: '#6e6c9a',
500: '#2f3671',
950: '#000000',
},
}SCSS
$custom: #2f3671; $custom-light: #6e6c9a; $custom-dark: #000000;
JSON
{
"hex": "#2f3671",
"rgb": {
"r": 47,
"g": 54,
"b": 113
},
"hsl": {
"h": 233.636,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.36013,
"c": 0.10079,
"h": 275.1
},
"luminance": 0.04435
}Semantic roles & 50–950 ramp
primary
#2F3671
secondary
#A29B5A
accent
#C457D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E