#2F3C8A#2F3C8A
#2F3C8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.130 H 271.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C8A |
|---|---|
| RGB | rgb(47, 60, 138) |
| HSL | hsl(231, 49%, 36%) |
| HSV | hsv(231, 66%, 54%) |
| CMYK | cmyk(65.9%, 56.5%, 0%, 45.9%) |
| CIE-LAB | lab(28.57, 21.16, -45.22) |
| CIE-LCH | lch(28.57, 49.92, 295.08°) |
| OKLab | oklab(39.23% 0.0043 -0.1299) |
| OKLCH | oklch(39.23% 0.13 271.9) |
| XYZ | xyz(7.3741, 5.6704, 24.7457) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.24
Darkslateblue
#483D8B
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 5.34
Cobalt (survey)
#1E488F
ΔE00 5.72
Darkish Blue
#014182
ΔE00 6.56
Cobalt
#0047AB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C8A #8A7D2F
analogous
#2F6A8A #2F3C8A #502F8A
triadic
#2F3C8A #8A2F3C #3C8A2F
tetradic
#2F3C8A #8A2F6A #8A7D2F #2F8A50
square
#2F3C8A #8A2F6A #8A7D2F #2F8A50
split-complementary
#2F3C8A #8A502F #6A8A2F
monochromatic
#10142F #1F285C #2F3C8A #3F50B8 #6876CC
Accessibility & contrast
On white
9.84
#2F3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F3C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C8A
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C8A | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3c8a; /* rgb */ color: rgb(47, 60, 138); /* oklch */ color: oklch(39.2% 0.130 271.9);
Tailwind
colors: {
custom: {
50: '#7271ad',
500: '#2f3c8a',
950: '#000000',
},
}SCSS
$custom: #2f3c8a; $custom-light: #7271ad; $custom-dark: #000000;
JSON
{
"hex": "#2f3c8a",
"rgb": {
"r": 47,
"g": 60,
"b": 138
},
"hsl": {
"h": 231.429,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.39232,
"c": 0.12998,
"h": 271.9
},
"luminance": 0.05671
}Semantic roles & 50–950 ramp
primary
#2F3C8A
secondary
#B3A762
accent
#C54FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F