#2F3E87#2F3E87
#2F3E87 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.123 H 271.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E87 |
|---|---|
| RGB | rgb(47, 62, 135) |
| HSL | hsl(230, 48%, 36%) |
| HSV | hsv(230, 65%, 53%) |
| CMYK | cmyk(65.2%, 54.1%, 0%, 47.1%) |
| CIE-LAB | lab(28.90, 18.69, -42.82) |
| CIE-LCH | lch(28.90, 46.72, 293.58°) |
| OKLab | oklab(39.41% 0.0021 -0.1228) |
| OKLCH | oklch(39.41% 0.123 271) |
| XYZ | xyz(7.2666, 5.7982, 23.6532) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.09
Darkslateblue
#483D8B
ΔE00 5.18
Darkish Blue
#014182
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 6.08
Cobalt
#0047AB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E87 #87782F
analogous
#2F6A87 #2F3E87 #4C2F87
triadic
#2F3E87 #872F3E #3E872F
tetradic
#2F3E87 #872F6A #87782F #2F874C
square
#2F3E87 #872F6A #87782F #2F874C
split-complementary
#2F3E87 #874C2F #6A872F
monochromatic
#0F142C #1F295A #2F3E87 #3F53B4 #6677CA
Accessibility & contrast
On white
9.72
#2F3E87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F3E87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E87
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E87 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3e87; /* rgb */ color: rgb(47, 62, 135); /* oklch */ color: oklch(39.4% 0.123 271.0);
Tailwind
colors: {
custom: {
50: '#7173aa',
500: '#2f3e87',
950: '#000000',
},
}SCSS
$custom: #2f3e87; $custom-light: #7173aa; $custom-dark: #000000;
JSON
{
"hex": "#2f3e87",
"rgb": {
"r": 47,
"g": 62,
"b": 135
},
"hsl": {
"h": 229.773,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.39411,
"c": 0.12286,
"h": 271
},
"luminance": 0.05799
}Semantic roles & 50–950 ramp
primary
#2F3E87
secondary
#B1A361
accent
#C150D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F