#2F2EB0#2F2EB0
#2F2EB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.198 H 273.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2EB0 |
|---|---|
| RGB | rgb(47, 46, 176) |
| HSL | hsl(240, 59%, 44%) |
| HSV | hsv(240, 74%, 69%) |
| CMYK | cmyk(73.3%, 73.9%, 0%, 31%) |
| CIE-LAB | lab(28.62, 43.58, -68.24) |
| CIE-LCH | lch(28.62, 80.96, 302.56°) |
| OKLab | oklab(40.32% 0.0116 -0.1974) |
| OKLCH | oklch(40.32% 0.198 273.4) |
| XYZ | xyz(9.9831, 5.6919, 41.6384) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 4.48
True Blue
#010FCC
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.16
Blue Blue
#2242C7
ΔE00 6.28
Blue With A Hint Of Purple
#533CC6
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2EB0 #AFB02E
analogous
#2E6EB0 #2F2EB0 #702EB0
triadic
#2F2EB0 #B02F2E #2EB02F
tetradic
#2F2EB0 #B02E6E #AFB02E #2EB070
square
#2F2EB0 #B02E6E #AFB02E #2EB070
split-complementary
#2F2EB0 #B0702E #6EB02E
monochromatic
#15154F #22217F #2F2EB0 #4C4BD0 #7C7CDD
Accessibility & contrast
On white
9.82
#2F2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2F2EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2EB0
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2EB0 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f2eb0; /* rgb */ color: rgb(47, 46, 176); /* oklch */ color: oklch(40.3% 0.198 273.4);
Tailwind
colors: {
custom: {
50: '#7c68c9',
500: '#2f2eb0',
950: '#000000',
},
}SCSS
$custom: #2f2eb0; $custom-light: #7c68c9; $custom-dark: #000000;
JSON
{
"hex": "#2f2eb0",
"rgb": {
"r": 47,
"g": 46,
"b": 176
},
"hsl": {
"h": 240.462,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.40319,
"c": 0.19775,
"h": 273.4
},
"luminance": 0.05693
}Semantic roles & 50–950 ramp
primary
#2F2EB0
secondary
#C4C575
accent
#E246E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82