#2F3299#2F3299
#2F3299 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.164 H 274.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3299 |
|---|---|
| RGB | rgb(47, 50, 153) |
| HSL | hsl(238, 53%, 39%) |
| HSV | hsv(238, 69%, 60%) |
| CMYK | cmyk(69.3%, 67.3%, 0%, 40%) |
| CIE-LAB | lab(27.25, 33.23, -56.58) |
| CIE-LCH | lch(27.25, 65.62, 300.43°) |
| OKLab | oklab(38.66% 0.0125 -0.1634) |
| OKLCH | oklch(38.66% 0.164 274.4) |
| XYZ | xyz(8.0608, 5.1847, 30.7068) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.29
Blueberry
#464196
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 5.61
Royal
#0C1793
ΔE00 6.75
Indigo Blue
#3A18B1
ΔE00 6.86
Ocean Blue
#4F42B5
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3299 #99962F
analogous
#2F6799 #2F3299 #612F99
triadic
#2F3299 #992F32 #32992F
tetradic
#2F3299 #992F67 #99962F #2F9961
square
#2F3299 #992F67 #99962F #2F9961
split-complementary
#2F3299 #99612F #67992F
monochromatic
#12133B #21236A #2F3299 #4144C5 #6F72D3
Accessibility & contrast
On white
10.31
#2F3299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F3299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3299
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3299 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3299; /* rgb */ color: rgb(47, 50, 153); /* oklch */ color: oklch(38.7% 0.164 274.4);
Tailwind
colors: {
custom: {
50: '#766ab8',
500: '#2f3299',
950: '#000000',
},
}SCSS
$custom: #2f3299; $custom-light: #766ab8; $custom-dark: #000000;
JSON
{
"hex": "#2f3299",
"rgb": {
"r": 47,
"g": 50,
"b": 153
},
"hsl": {
"h": 238.302,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.38656,
"c": 0.16385,
"h": 274.4
},
"luminance": 0.05185
}Semantic roles & 50–950 ramp
primary
#2F3299
secondary
#BAB869
accent
#D84BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80