#2F3199#2F3199
#2F3199 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.165 H 274.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3199 |
|---|---|
| RGB | rgb(47, 49, 153) |
| HSL | hsl(239, 53%, 39%) |
| HSV | hsv(239, 69%, 60%) |
| CMYK | cmyk(69.3%, 68%, 0%, 40%) |
| CIE-LAB | lab(27.02, 33.87, -56.97) |
| CIE-LCH | lch(27.02, 66.27, 300.73°) |
| OKLab | oklab(38.48% 0.0132 -0.1645) |
| OKLCH | oklch(38.48% 0.165 274.6) |
| XYZ | xyz(8.0185, 5.1001, 30.6927) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Blueberry
#464196
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 5.74
Royal
#0C1793
ΔE00 6.49
Indigo Blue
#3A18B1
ΔE00 6.61
Ocean Blue
#4F42B5
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3199 #99972F
analogous
#2F6699 #2F3199 #622F99
triadic
#2F3199 #992F31 #31992F
tetradic
#2F3199 #992F66 #99972F #2F9962
square
#2F3199 #992F66 #99972F #2F9962
split-complementary
#2F3199 #99622F #66992F
monochromatic
#12133B #21226A #2F3199 #4143C5 #6F71D3
Accessibility & contrast
On white
10.40
#2F3199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F3199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3199
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3199 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3199; /* rgb */ color: rgb(47, 49, 153); /* oklch */ color: oklch(38.5% 0.165 274.6);
Tailwind
colors: {
custom: {
50: '#7669b8',
500: '#2f3199',
950: '#000000',
},
}SCSS
$custom: #2f3199; $custom-light: #7669b8; $custom-dark: #000000;
JSON
{
"hex": "#2f3199",
"rgb": {
"r": 47,
"g": 49,
"b": 153
},
"hsl": {
"h": 238.868,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.38484,
"c": 0.16504,
"h": 274.6
},
"luminance": 0.05101
}Semantic roles & 50–950 ramp
primary
#2F3199
secondary
#BAB969
accent
#DA4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80