#2F3471#2F3471
#2F3471 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.104 H 276.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3471 |
|---|---|
| RGB | rgb(47, 52, 113) |
| HSL | hsl(235, 41%, 31%) |
| HSV | hsv(235, 58%, 44%) |
| CMYK | cmyk(58.4%, 54%, 0%, 55.7%) |
| CIE-LAB | lab(24.49, 17.46, -36.08) |
| CIE-LCH | lch(24.49, 40.08, 295.83°) |
| OKLab | oklab(35.58% 0.0113 -0.1031) |
| OKLCH | oklch(35.58% 0.104 276.2) |
| XYZ | xyz(5.3800, 4.2522, 16.1568) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.03
Marine
#042E60
ΔE00 6.60
Blueberry
#464196
ΔE00 7.20
Navy Blue
#1B2A4A
ΔE00 7.87
Marine Blue
#01386A
ΔE00 7.88
Midnight Blue
#191970
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3471 #716C2F
analogous
#2F5571 #2F3471 #4B2F71
triadic
#2F3471 #712F34 #34712F
tetradic
#2F3471 #712F55 #716C2F #2F714B
square
#2F3471 #712F55 #716C2F #2F714B
split-complementary
#2F3471 #714B2F #55712F
monochromatic
#0B0C1B #1D2046 #2F3471 #41489C #5E65BC
Accessibility & contrast
On white
11.35
#2F3471 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2F3471 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3471
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3471 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3471 | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#083870
Tritanopia (blue-blind)
#0C424D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f3471; /* rgb */ color: rgb(47, 52, 113); /* oklch */ color: oklch(35.6% 0.104 276.2);
Tailwind
colors: {
custom: {
50: '#6e6b9a',
500: '#2f3471',
950: '#000000',
},
}SCSS
$custom: #2f3471; $custom-light: #6e6b9a; $custom-dark: #000000;
JSON
{
"hex": "#2f3471",
"rgb": {
"r": 47,
"g": 52,
"b": 113
},
"hsl": {
"h": 235.455,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.35583,
"c": 0.10374,
"h": 276.2
},
"luminance": 0.04253
}Semantic roles & 50–950 ramp
primary
#2F3471
secondary
#A29D5A
accent
#C857D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E