#2F2E72#2F2E72
#2F2E72 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.114 H 279.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E72 |
|---|---|
| RGB | rgb(47, 46, 114) |
| HSL | hsl(241, 43%, 31%) |
| HSV | hsv(241, 60%, 45%) |
| CMYK | cmyk(58.8%, 59.6%, 0%, 55.3%) |
| CIE-LAB | lab(22.91, 21.94, -39.27) |
| CIE-LCH | lch(22.91, 44.98, 299.19°) |
| OKLab | oklab(34.42% 0.0183 -0.1126) |
| OKLCH | oklch(34.42% 0.114 279.2) |
| XYZ | xyz(5.1856, 3.7729, 16.3713) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.27
Marine
#042E60
ΔE00 7.58
Blueberry
#464196
ΔE00 7.59
Navy Blue
#1B2A4A
ΔE00 8.59
Royal
#0C1793
ΔE00 8.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E72 #71722E
analogous
#2E4F72 #2F2E72 #512E72
triadic
#2F2E72 #722F2E #2E722F
tetradic
#2F2E72 #722E4F #71722E #2E7251
square
#2F2E72 #722E4F #71722E #2E7251
split-complementary
#2F2E72 #72512E #4F722E
monochromatic
#0B0B1B #1D1C46 #2F2E72 #41409E #5E5DBE
Accessibility & contrast
On white
11.97
#2F2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2F2E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E72
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E72 | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#0C3E4B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2e72; /* rgb */ color: rgb(47, 46, 114); /* oklch */ color: oklch(34.4% 0.114 279.2);
Tailwind
colors: {
custom: {
50: '#6e669b',
500: '#2f2e72',
950: '#000000',
},
}SCSS
$custom: #2f2e72; $custom-light: #6e669b; $custom-dark: #000000;
JSON
{
"hex": "#2f2e72",
"rgb": {
"r": 47,
"g": 46,
"b": 114
},
"hsl": {
"h": 240.882,
"s": 42.5,
"l": 31.373
},
"oklch": {
"l": 0.34424,
"c": 0.11405,
"h": 279.2
},
"luminance": 0.03773
}Semantic roles & 50–950 ramp
primary
#2F2E72
secondary
#A2A358
accent
#D256D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E