#2F3699#2F3699
#2F3699 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.159 H 273.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3699 |
|---|---|
| RGB | rgb(47, 54, 153) |
| HSL | hsl(236, 53%, 39%) |
| HSV | hsv(236, 69%, 60%) |
| CMYK | cmyk(69.3%, 64.7%, 0%, 40%) |
| CIE-LAB | lab(28.23, 30.66, -54.99) |
| CIE-LCH | lch(28.23, 62.96, 299.14°) |
| OKLab | oklab(39.37% 0.0095 -0.1587) |
| OKLCH | oklch(39.37% 0.159 273.4) |
| XYZ | xyz(8.2393, 5.5418, 30.7663) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Blueberry
#464196
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 6.53
Blue Blue
#2242C7
ΔE00 6.98
Cobalt
#0047AB
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3699 #99922F
analogous
#2F6B99 #2F3699 #5D2F99
triadic
#2F3699 #992F36 #36992F
tetradic
#2F3699 #992F6B #99922F #2F995D
square
#2F3699 #992F6B #99922F #2F995D
split-complementary
#2F3699 #995D2F #6B992F
monochromatic
#12153B #21256A #2F3699 #4149C5 #6F76D3
Accessibility & contrast
On white
9.96
#2F3699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2F3699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3699
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3699 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3699; /* rgb */ color: rgb(47, 54, 153); /* oklch */ color: oklch(39.4% 0.159 273.4);
Tailwind
colors: {
custom: {
50: '#766db8',
500: '#2f3699',
950: '#000000',
},
}SCSS
$custom: #2f3699; $custom-light: #766db8; $custom-dark: #000000;
JSON
{
"hex": "#2f3699",
"rgb": {
"r": 47,
"g": 54,
"b": 153
},
"hsl": {
"h": 236.038,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.39365,
"c": 0.15897,
"h": 273.4
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#2F3699
secondary
#BAB569
accent
#D34BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80