#2F3799#2F3799
#2F3799 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.158 H 273.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3799 |
|---|---|
| RGB | rgb(47, 55, 153) |
| HSL | hsl(235, 53%, 39%) |
| HSV | hsv(235, 69%, 60%) |
| CMYK | cmyk(69.3%, 64.1%, 0%, 40%) |
| CIE-LAB | lab(28.47, 30.00, -54.58) |
| CIE-LCH | lch(28.47, 62.29, 298.80°) |
| OKLab | oklab(39.55% 0.0087 -0.1575) |
| OKLCH | oklch(39.55% 0.158 273.2) |
| XYZ | xyz(8.2863, 5.6359, 30.7820) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.78
Blueberry
#464196
ΔE00 4.24
Darkslateblue
#483D8B
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 6.47
Blue Blue
#2242C7
ΔE00 6.86
Cobalt
#0047AB
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3799 #99912F
analogous
#2F6C99 #2F3799 #5C2F99
triadic
#2F3799 #992F37 #37992F
tetradic
#2F3799 #992F6C #99912F #2F995C
square
#2F3799 #992F6C #99912F #2F995C
split-complementary
#2F3799 #995C2F #6C992F
monochromatic
#12153B #21266A #2F3799 #414BC5 #6F77D3
Accessibility & contrast
On white
9.87
#2F3799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F3799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3799
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3799 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3799; /* rgb */ color: rgb(47, 55, 153); /* oklch */ color: oklch(39.5% 0.158 273.2);
Tailwind
colors: {
custom: {
50: '#766eb8',
500: '#2f3799',
950: '#000000',
},
}SCSS
$custom: #2f3799; $custom-light: #766eb8; $custom-dark: #000000;
JSON
{
"hex": "#2f3799",
"rgb": {
"r": 47,
"g": 55,
"b": 153
},
"hsl": {
"h": 235.472,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.39547,
"c": 0.15773,
"h": 273.2
},
"luminance": 0.05637
}Semantic roles & 50–950 ramp
primary
#2F3799
secondary
#BAB469
accent
#D14BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80