#2F2E8C#2F2E8C
#2F2E8C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.151 H 276.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E8C |
|---|---|
| RGB | rgb(47, 46, 140) |
| HSL | hsl(241, 51%, 36%) |
| HSV | hsv(241, 67%, 55%) |
| CMYK | cmyk(66.4%, 67.1%, 0%, 45.1%) |
| CIE-LAB | lab(25.11, 31.19, -52.08) |
| CIE-LCH | lch(25.11, 60.71, 300.92°) |
| OKLab | oklab(36.73% 0.0169 -0.1502) |
| OKLCH | oklch(36.73% 0.151 276.4) |
| XYZ | xyz(6.8814, 4.4512, 25.3024) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 5.53
Blueberry
#464196
ΔE00 5.92
Royal
#0C1793
ΔE00 6.07
Midnight Blue
#191970
ΔE00 6.60
Indigo Blue
#3A18B1
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E8C #8B8C2E
analogous
#2E5C8C #2F2E8C #5E2E8C
triadic
#2F2E8C #8C2F2E #2E8C2F
tetradic
#2F2E8C #8C2E5C #8B8C2E #2E8C5E
square
#2F2E8C #8C2E5C #8B8C2E #2E8C5E
split-complementary
#2F2E8C #8C5E2E #5C8C2E
monochromatic
#101030 #201F5E #2F2E8C #3E3DBA #6867CD
Accessibility & contrast
On white
11.11
#2F2E8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F2E8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E8C
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E8C | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f2e8c; /* rgb */ color: rgb(47, 46, 140); /* oklch */ color: oklch(36.7% 0.151 276.4);
Tailwind
colors: {
custom: {
50: '#7467ae',
500: '#2f2e8c',
950: '#000000',
},
}SCSS
$custom: #2f2e8c; $custom-light: #7467ae; $custom-dark: #000000;
JSON
{
"hex": "#2f2e8c",
"rgb": {
"r": 47,
"g": 46,
"b": 140
},
"hsl": {
"h": 240.638,
"s": 50.538,
"l": 36.471
},
"oklch": {
"l": 0.36732,
"c": 0.15116,
"h": 276.4
},
"luminance": 0.04452
}Semantic roles & 50–950 ramp
primary
#2F2E8C
secondary
#B3B462
accent
#DA4ED9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F