#2F2D91#2F2D91
#2F2D91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.159 H 276.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2D91 |
|---|---|
| RGB | rgb(47, 45, 145) |
| HSL | hsl(241, 53%, 37%) |
| HSV | hsv(241, 69%, 57%) |
| CMYK | cmyk(67.6%, 69%, 0%, 43.1%) |
| CIE-LAB | lab(25.34, 33.58, -54.81) |
| CIE-LCH | lch(25.34, 64.28, 301.50°) |
| OKLab | oklab(37.04% 0.0171 -0.1582) |
| OKLCH | oklch(37.04% 0.159 276.2) |
| XYZ | xyz(7.2198, 4.5248, 27.2755) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.93
Royal
#0C1793
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 5.92
Blueberry
#464196
ΔE00 6.11
Indigo Blue
#3A18B1
ΔE00 6.60
Midnight Blue
#191970
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2D91 #8F912D
analogous
#2D5D91 #2F2D91 #612D91
triadic
#2F2D91 #912F2D #2D912F
tetradic
#2F2D91 #912D5D #8F912D #2D9161
square
#2F2D91 #912D5D #8F912D #2D9161
split-complementary
#2F2D91 #91612D #5D912D
monochromatic
#111034 #201F62 #2F2D91 #3E3BC0 #6A68D0
Accessibility & contrast
On white
11.02
#2F2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F2D91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2D91
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2D91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2D91 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2d91; /* rgb */ color: rgb(47, 45, 145); /* oklch */ color: oklch(37.0% 0.159 276.2);
Tailwind
colors: {
custom: {
50: '#7566b2',
500: '#2f2d91',
950: '#000000',
},
}SCSS
$custom: #2f2d91; $custom-light: #7566b2; $custom-dark: #000000;
JSON
{
"hex": "#2f2d91",
"rgb": {
"r": 47,
"g": 45,
"b": 145
},
"hsl": {
"h": 241.2,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.37037,
"c": 0.15912,
"h": 276.2
},
"luminance": 0.04525
}Semantic roles & 50–950 ramp
primary
#2F2D91
secondary
#B5B763
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80