#2F2DB8#2F2DB8
#2F2DB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.208 H 272.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2DB8 |
|---|---|
| RGB | rgb(47, 45, 184) |
| HSL | hsl(241, 61%, 45%) |
| HSV | hsv(241, 76%, 72%) |
| CMYK | cmyk(74.5%, 75.5%, 0%, 27.8%) |
| CIE-LAB | lab(29.26, 46.78, -71.94) |
| CIE-LCH | lch(29.26, 85.81, 303.03°) |
| OKLab | oklab(41.02% 0.0106 -0.2082) |
| OKLCH | oklch(41.02% 0.208 272.9) |
| XYZ | xyz(10.7595, 5.9407, 45.9177) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Indigo Blue
#3A18B1
ΔE00 4.28
True Blue
#010FCC
ΔE00 5.11
Blue With A Hint Of Purple
#533CC6
ΔE00 5.81
Ultramarine Blue
#1805DB
ΔE00 5.90
Blurple
#5539CC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2DB8 #B6B82D
analogous
#2D71B8 #2F2DB8 #742DB8
triadic
#2F2DB8 #B82F2D #2DB82F
tetradic
#2F2DB8 #B82D71 #B6B82D #2DB874
square
#2F2DB8 #B82D71 #B6B82D #2DB874
split-complementary
#2F2DB8 #B8742D #71B82D
monochromatic
#161556 #222187 #2F2DB8 #504ED4 #8180E0
Accessibility & contrast
On white
9.60
#2F2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F2DB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2DB8
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2DB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2DB8 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003EB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f2db8; /* rgb */ color: rgb(47, 45, 184); /* oklch */ color: oklch(41.0% 0.208 272.9);
Tailwind
colors: {
custom: {
50: '#7e68cf',
500: '#2f2db8',
950: '#000000',
},
}SCSS
$custom: #2f2db8; $custom-light: #7e68cf; $custom-dark: #000000;
JSON
{
"hex": "#2f2db8",
"rgb": {
"r": 47,
"g": 45,
"b": 184
},
"hsl": {
"h": 240.863,
"s": 60.699,
"l": 44.902
},
"oklch": {
"l": 0.41022,
"c": 0.20846,
"h": 272.9
},
"luminance": 0.05942
}Semantic roles & 50–950 ramp
primary
#2F2DB8
secondary
#C7C978
accent
#E444E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82