#2F3373#2F3373
#2F3373 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.108 H 276.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3373 |
|---|---|
| RGB | rgb(47, 51, 115) |
| HSL | hsl(236, 42%, 32%) |
| HSV | hsv(236, 59%, 45%) |
| CMYK | cmyk(59.1%, 55.7%, 0%, 54.9%) |
| CIE-LAB | lab(24.35, 18.87, -37.57) |
| CIE-LCH | lch(24.35, 42.05, 296.67°) |
| OKLab | oklab(35.53% 0.0126 -0.1075) |
| OKLCH | oklch(35.53% 0.108 276.7) |
| XYZ | xyz(5.4496, 4.2094, 16.7417) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.78
Marine
#042E60
ΔE00 6.82
Blueberry
#464196
ΔE00 6.97
Midnight Blue
#191970
ΔE00 7.79
Marine Blue
#01386A
ΔE00 8.14
Navy Blue
#1B2A4A
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3373 #736F2F
analogous
#2F5573 #2F3373 #4D2F73
triadic
#2F3373 #732F33 #33732F
tetradic
#2F3373 #732F55 #736F2F #2F734D
square
#2F3373 #732F55 #736F2F #2F734D
split-complementary
#2F3373 #734D2F #55732F
monochromatic
#0B0C1C #1D2048 #2F3373 #41469E #5F64BE
Accessibility & contrast
On white
11.40
#2F3373 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2F3373 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3373
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3373 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3373 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D3D75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#08424D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f3373; /* rgb */ color: rgb(47, 51, 115); /* oklch */ color: oklch(35.5% 0.108 276.7);
Tailwind
colors: {
custom: {
50: '#6e6a9c',
500: '#2f3373',
950: '#000000',
},
}SCSS
$custom: #2f3373; $custom-light: #6e6a9c; $custom-dark: #000000;
JSON
{
"hex": "#2f3373",
"rgb": {
"r": 47,
"g": 51,
"b": 115
},
"hsl": {
"h": 236.471,
"s": 41.975,
"l": 31.765
},
"oklch": {
"l": 0.35527,
"c": 0.10828,
"h": 276.7
},
"luminance": 0.0421
}Semantic roles & 50–950 ramp
primary
#2F3373
secondary
#A4A05A
accent
#CB56D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E