#2F3C8E#2F3C8E
#2F3C8E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.136 H 271.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C8E |
|---|---|
| RGB | rgb(47, 60, 142) |
| HSL | hsl(232, 50%, 37%) |
| HSV | hsv(232, 67%, 56%) |
| CMYK | cmyk(66.9%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(28.87, 22.64, -47.19) |
| CIE-LCH | lch(28.87, 52.34, 295.63°) |
| OKLab | oklab(39.56% 0.0045 -0.1357) |
| OKLCH | oklch(39.56% 0.136 271.9) |
| XYZ | xyz(7.6690, 5.7884, 26.2991) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.70
Darkslateblue
#483D8B
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.79
Cobalt
#0047AB
ΔE00 6.40
Darkish Blue
#014182
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C8E #8E812F
analogous
#2F6C8E #2F3C8E #512F8E
triadic
#2F3C8E #8E2F3C #3C8E2F
tetradic
#2F3C8E #8E2F6C #8E812F #2F8E51
square
#2F3C8E #8E2F6C #8E812F #2F8E51
split-complementary
#2F3C8E #8E512F #6C8E2F
monochromatic
#111532 #202960 #2F3C8E #3E4FBC #6A77CE
Accessibility & contrast
On white
9.73
#2F3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F3C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C8E
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C8E | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3c8e; /* rgb */ color: rgb(47, 60, 142); /* oklch */ color: oklch(39.6% 0.136 271.9);
Tailwind
colors: {
custom: {
50: '#7371b0',
500: '#2f3c8e',
950: '#000000',
},
}SCSS
$custom: #2f3c8e; $custom-light: #7371b0; $custom-dark: #000000;
JSON
{
"hex": "#2f3c8e",
"rgb": {
"r": 47,
"g": 60,
"b": 142
},
"hsl": {
"h": 231.789,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.39559,
"c": 0.13579,
"h": 271.9
},
"luminance": 0.05789
}Semantic roles & 50–950 ramp
primary
#2F3C8E
secondary
#B5AA64
accent
#C74EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F