#2F3370#2F3370
#2F3370 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.104 H 276.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3370 |
|---|---|
| RGB | rgb(47, 51, 112) |
| HSL | hsl(236, 41%, 31%) |
| HSV | hsv(236, 58%, 44%) |
| CMYK | cmyk(58%, 54.5%, 0%, 56.1%) |
| CIE-LAB | lab(24.13, 17.79, -36.01) |
| CIE-LCH | lch(24.13, 40.16, 296.29°) |
| OKLab | oklab(35.29% 0.0124 -0.1029) |
| OKLCH | oklch(35.29% 0.104 276.9) |
| XYZ | xyz(5.2798, 4.1415, 15.8473) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.13
Marine
#042E60
ΔE00 6.67
Blueberry
#464196
ΔE00 7.39
Navy Blue
#1B2A4A
ΔE00 7.80
Midnight Blue
#191970
ΔE00 8.03
Marine Blue
#01386A
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3370 #706C2F
analogous
#2F5370 #2F3370 #4B2F70
triadic
#2F3370 #702F33 #33702F
tetradic
#2F3370 #702F53 #706C2F #2F704B
square
#2F3370 #702F53 #706C2F #2F704B
split-complementary
#2F3370 #704B2F #53702F
monochromatic
#0B0C1A #1D1F45 #2F3370 #41479B #5E64BB
Accessibility & contrast
On white
11.49
#2F3370 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2F3370 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3370
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3370 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3370 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#07376F
Tritanopia (blue-blind)
#0D414C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2f3370; /* rgb */ color: rgb(47, 51, 112); /* oklch */ color: oklch(35.3% 0.104 276.9);
Tailwind
colors: {
custom: {
50: '#6e6a99',
500: '#2f3370',
950: '#000000',
},
}SCSS
$custom: #2f3370; $custom-light: #6e6a99; $custom-dark: #000000;
JSON
{
"hex": "#2f3370",
"rgb": {
"r": 47,
"g": 51,
"b": 112
},
"hsl": {
"h": 236.308,
"s": 40.881,
"l": 31.176
},
"oklch": {
"l": 0.35293,
"c": 0.10367,
"h": 276.9
},
"luminance": 0.04142
}Semantic roles & 50–950 ramp
primary
#2F3370
secondary
#A19D5A
accent
#C957D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E