#2F3374#2F3374
#2F3374 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.110 H 276.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3374 |
|---|---|
| RGB | rgb(47, 51, 116) |
| HSL | hsl(237, 42%, 32%) |
| HSV | hsv(237, 59%, 45%) |
| CMYK | cmyk(59.5%, 56%, 0%, 54.5%) |
| CIE-LAB | lab(24.43, 19.23, -38.09) |
| CIE-LCH | lch(24.43, 42.67, 296.79°) |
| OKLab | oklab(35.61% 0.0127 -0.1091) |
| OKLCH | oklch(35.61% 0.11 276.6) |
| XYZ | xyz(5.5075, 4.2326, 17.0464) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.67
Blueberry
#464196
ΔE00 6.84
Marine
#042E60
ΔE00 6.88
Midnight Blue
#191970
ΔE00 7.73
Marine Blue
#01386A
ΔE00 8.16
Navy Blue
#1B2A4A
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3374 #74702F
analogous
#2F5674 #2F3374 #4E2F74
triadic
#2F3374 #742F33 #33742F
tetradic
#2F3374 #742F56 #74702F #2F744E
square
#2F3374 #742F56 #74702F #2F744E
split-complementary
#2F3374 #744E2F #56742F
monochromatic
#0C0D1D #1D2048 #2F3374 #4146A0 #5F65BE
Accessibility & contrast
On white
11.37
#2F3374 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2F3374 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3374
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3374 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3374 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B3D76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#06424E
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f3374; /* rgb */ color: rgb(47, 51, 116); /* oklch */ color: oklch(35.6% 0.110 276.6);
Tailwind
colors: {
custom: {
50: '#6e6a9c',
500: '#2f3374',
950: '#000000',
},
}SCSS
$custom: #2f3374; $custom-light: #6e6a9c; $custom-dark: #000000;
JSON
{
"hex": "#2f3374",
"rgb": {
"r": 47,
"g": 51,
"b": 116
},
"hsl": {
"h": 236.522,
"s": 42.331,
"l": 31.961
},
"oklch": {
"l": 0.35606,
"c": 0.10979,
"h": 276.6
},
"luminance": 0.04233
}Semantic roles & 50–950 ramp
primary
#2F3374
secondary
#A5A15A
accent
#CB56D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E