#2F3499#2F3499
#2F3499 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.161 H 273.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3499 |
|---|---|
| RGB | rgb(47, 52, 153) |
| HSL | hsl(237, 53%, 39%) |
| HSV | hsv(237, 69%, 60%) |
| CMYK | cmyk(69.3%, 66%, 0%, 40%) |
| CIE-LAB | lab(27.74, 31.95, -55.79) |
| CIE-LCH | lch(27.74, 64.29, 299.80°) |
| OKLab | oklab(39.01% 0.011 -0.1611) |
| OKLCH | oklch(39.01% 0.161 273.9) |
| XYZ | xyz(8.1481, 5.3595, 30.7359) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Blueberry
#464196
ΔE00 4.75
Darkslateblue
#483D8B
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 6.70
Blue Blue
#2242C7
ΔE00 7.25
Royal
#0C1793
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3499 #99942F
analogous
#2F6999 #2F3499 #5F2F99
triadic
#2F3499 #992F34 #34992F
tetradic
#2F3499 #992F69 #99942F #2F995F
square
#2F3499 #992F69 #99942F #2F995F
split-complementary
#2F3499 #995F2F #69992F
monochromatic
#12143B #21246A #2F3499 #4147C5 #6F74D3
Accessibility & contrast
On white
10.14
#2F3499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F3499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3499
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3499 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3499; /* rgb */ color: rgb(47, 52, 153); /* oklch */ color: oklch(39.0% 0.161 273.9);
Tailwind
colors: {
custom: {
50: '#766cb8',
500: '#2f3499',
950: '#000000',
},
}SCSS
$custom: #2f3499; $custom-light: #766cb8; $custom-dark: #000000;
JSON
{
"hex": "#2f3499",
"rgb": {
"r": 47,
"g": 52,
"b": 153
},
"hsl": {
"h": 237.17,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.39006,
"c": 0.16143,
"h": 273.9
},
"luminance": 0.0536
}Semantic roles & 50–950 ramp
primary
#2F3499
secondary
#BAB769
accent
#D64BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80