#2F2E8A#2F2E8A
#2F2E8A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.148 H 276.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2E8A |
|---|---|
| RGB | rgb(47, 46, 138) |
| HSL | hsl(241, 50%, 36%) |
| HSV | hsv(241, 67%, 54%) |
| CMYK | cmyk(65.9%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(24.93, 30.49, -51.13) |
| CIE-LCH | lch(24.93, 59.53, 300.80°) |
| OKLab | oklab(36.54% 0.0171 -0.1474) |
| OKLCH | oklch(36.54% 0.148 276.6) |
| XYZ | xyz(6.7352, 4.3927, 24.5328) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.47
Sapphire (survey)
#2138AB
ΔE00 5.58
Blueberry
#464196
ΔE00 5.95
Royal
#0C1793
ΔE00 6.19
Midnight Blue
#191970
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2E8A #898A2E
analogous
#2E5B8A #2F2E8A #5D2E8A
triadic
#2F2E8A #8A2F2E #2E8A2F
tetradic
#2F2E8A #8A2E5B #898A2E #2E8A5D
square
#2F2E8A #8A2E5B #898A2E #2E8A5D
split-complementary
#2F2E8A #8A5D2E #5B8A2E
monochromatic
#100F2E #1F1F5C #2F2E8A #3F3DB8 #6766CC
Accessibility & contrast
On white
11.18
#2F2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2F2E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2E8A
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2E8A | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2e8a; /* rgb */ color: rgb(47, 46, 138); /* oklch */ color: oklch(36.5% 0.148 276.6);
Tailwind
colors: {
custom: {
50: '#7367ad',
500: '#2f2e8a',
950: '#000000',
},
}SCSS
$custom: #2f2e8a; $custom-light: #7367ad; $custom-dark: #000000;
JSON
{
"hex": "#2f2e8a",
"rgb": {
"r": 47,
"g": 46,
"b": 138
},
"hsl": {
"h": 240.652,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.36544,
"c": 0.14842,
"h": 276.6
},
"luminance": 0.04393
}Semantic roles & 50–950 ramp
primary
#2F2E8A
secondary
#B2B361
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F