#2F3D8E#2F3D8E
#2F3D8E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.134 H 271.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D8E |
|---|---|
| RGB | rgb(47, 61, 142) |
| HSL | hsl(231, 50%, 37%) |
| HSV | hsv(231, 67%, 56%) |
| CMYK | cmyk(66.9%, 57%, 0%, 44.3%) |
| CIE-LAB | lab(29.14, 21.97, -46.75) |
| CIE-LCH | lch(29.14, 51.65, 295.17°) |
| OKLab | oklab(39.76% 0.0036 -0.1344) |
| OKLCH | oklch(39.76% 0.134 271.5) |
| XYZ | xyz(7.7219, 5.8941, 26.3167) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.02
Sapphire (survey)
#2138AB
ΔE00 4.83
Darkslateblue
#483D8B
ΔE00 4.88
Cobalt (survey)
#1E488F
ΔE00 5.48
Cobalt
#0047AB
ΔE00 6.18
Darkish Blue
#014182
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D8E #8E802F
analogous
#2F6D8E #2F3D8E #512F8E
triadic
#2F3D8E #8E2F3D #3D8E2F
tetradic
#2F3D8E #8E2F6D #8E802F #2F8E51
square
#2F3D8E #8E2F6D #8E802F #2F8E51
split-complementary
#2F3D8E #8E512F #6D8E2F
monochromatic
#111532 #202960 #2F3D8E #3E51BC #6A78CE
Accessibility & contrast
On white
9.64
#2F3D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2F3D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D8E
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D8E | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3d8e; /* rgb */ color: rgb(47, 61, 142); /* oklch */ color: oklch(39.8% 0.134 271.5);
Tailwind
colors: {
custom: {
50: '#7372b0',
500: '#2f3d8e',
950: '#000000',
},
}SCSS
$custom: #2f3d8e; $custom-light: #7372b0; $custom-dark: #000000;
JSON
{
"hex": "#2f3d8e",
"rgb": {
"r": 47,
"g": 61,
"b": 142
},
"hsl": {
"h": 231.158,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.39762,
"c": 0.13446,
"h": 271.5
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#2F3D8E
secondary
#B5A964
accent
#C54EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F