#2F3372#2F3372
#2F3372 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.107 H 276.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3372 |
|---|---|
| RGB | rgb(47, 51, 114) |
| HSL | hsl(236, 42%, 32%) |
| HSV | hsv(236, 59%, 45%) |
| CMYK | cmyk(58.8%, 55.3%, 0%, 55.3%) |
| CIE-LAB | lab(24.28, 18.51, -37.05) |
| CIE-LCH | lch(24.28, 41.42, 296.54°) |
| OKLab | oklab(35.45% 0.0125 -0.106) |
| OKLCH | oklch(35.45% 0.107 276.7) |
| XYZ | xyz(5.3924, 4.1865, 16.4403) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.89
Marine
#042E60
ΔE00 6.77
Blueberry
#464196
ΔE00 7.11
Midnight Blue
#191970
ΔE00 7.87
Navy Blue
#1B2A4A
ΔE00 8.07
Marine Blue
#01386A
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3372 #726E2F
analogous
#2F5572 #2F3372 #4D2F72
triadic
#2F3372 #722F33 #33722F
tetradic
#2F3372 #722F55 #726E2F #2F724D
square
#2F3372 #722F55 #726E2F #2F724D
split-complementary
#2F3372 #724D2F #55722F
monochromatic
#0B0C1B #1D2047 #2F3372 #41469D #5F64BD
Accessibility & contrast
On white
11.43
#2F3372 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F3372 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3372
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3372 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3372 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#023771
Tritanopia (blue-blind)
#0A414D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f3372; /* rgb */ color: rgb(47, 51, 114); /* oklch */ color: oklch(35.4% 0.107 276.7);
Tailwind
colors: {
custom: {
50: '#6e6a9b',
500: '#2f3372',
950: '#000000',
},
}SCSS
$custom: #2f3372; $custom-light: #6e6a9b; $custom-dark: #000000;
JSON
{
"hex": "#2f3372",
"rgb": {
"r": 47,
"g": 51,
"b": 114
},
"hsl": {
"h": 236.418,
"s": 41.615,
"l": 31.569
},
"oklch": {
"l": 0.35449,
"c": 0.10674,
"h": 276.7
},
"luminance": 0.04187
}Semantic roles & 50–950 ramp
primary
#2F3372
secondary
#A39F5A
accent
#CA56D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E