#2F3E8E#2F3E8E
#2F3E8E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.133 H 271.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E8E |
|---|---|
| RGB | rgb(47, 62, 142) |
| HSL | hsl(231, 50%, 37%) |
| HSV | hsv(231, 67%, 56%) |
| CMYK | cmyk(66.9%, 56.3%, 0%, 44.3%) |
| CIE-LAB | lab(29.42, 21.29, -46.30) |
| CIE-LCH | lch(29.42, 50.97, 294.69°) |
| OKLab | oklab(39.97% 0.0026 -0.1331) |
| OKLCH | oklch(39.97% 0.133 271.1) |
| XYZ | xyz(7.7758, 6.0019, 26.3346) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.97
Darkish Blue
#014182
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E8E #8E7F2F
analogous
#2F6E8E #2F3E8E #4F2F8E
triadic
#2F3E8E #8E2F3E #3E8E2F
tetradic
#2F3E8E #8E2F6E #8E7F2F #2F8E4F
square
#2F3E8E #8E2F6E #8E7F2F #2F8E4F
split-complementary
#2F3E8E #8E4F2F #6E8E2F
monochromatic
#111632 #202A60 #2F3E8E #3E52BC #6A7ACE
Accessibility & contrast
On white
9.54
#2F3E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F3E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E8E
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E8E | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3e8e; /* rgb */ color: rgb(47, 62, 142); /* oklch */ color: oklch(40.0% 0.133 271.1);
Tailwind
colors: {
custom: {
50: '#7373b0',
500: '#2f3e8e',
950: '#000000',
},
}SCSS
$custom: #2f3e8e; $custom-light: #7373b0; $custom-dark: #000000;
JSON
{
"hex": "#2f3e8e",
"rgb": {
"r": 47,
"g": 62,
"b": 142
},
"hsl": {
"h": 230.526,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.39967,
"c": 0.13312,
"h": 271.1
},
"luminance": 0.06003
}Semantic roles & 50–950 ramp
primary
#2F3E8E
secondary
#B5A864
accent
#C44EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090810
muted
#7B7B7F