#2F2C8D#2F2C8D
#2F2C8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.155 H 276.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C8D |
|---|---|
| RGB | rgb(47, 44, 141) |
| HSL | hsl(242, 52%, 36%) |
| HSV | hsv(242, 69%, 55%) |
| CMYK | cmyk(66.7%, 68.8%, 0%, 44.7%) |
| CIE-LAB | lab(24.73, 32.82, -53.33) |
| CIE-LCH | lch(24.73, 62.62, 301.61°) |
| OKLab | oklab(36.48% 0.0184 -0.1539) |
| OKLCH | oklch(36.48% 0.155 276.8) |
| XYZ | xyz(6.8791, 4.3282, 25.6670) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 5.52
Darkslateblue
#483D8B
ΔE00 5.94
Midnight Blue
#191970
ΔE00 6.32
Blueberry
#464196
ΔE00 6.35
Indigo Blue
#3A18B1
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C8D #8A8D2C
analogous
#2C5A8D #2F2C8D #602C8D
triadic
#2F2C8D #8D2F2C #2C8D2F
tetradic
#2F2C8D #8D2C5A #8A8D2C #2C8D60
square
#2F2C8D #8D2C5A #8A8D2C #2C8D60
split-complementary
#2F2C8D #8D602C #5A8D2C
monochromatic
#100F30 #1F1D5E #2F2C8D #3F3BBC #6865CF
Accessibility & contrast
On white
11.26
#2F2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F2C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C8D
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C8D | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2c8d; /* rgb */ color: rgb(47, 44, 141); /* oklch */ color: oklch(36.5% 0.155 276.8);
Tailwind
colors: {
custom: {
50: '#7466af',
500: '#2f2c8d',
950: '#000000',
},
}SCSS
$custom: #2f2c8d; $custom-light: #7466af; $custom-dark: #000000;
JSON
{
"hex": "#2f2c8d",
"rgb": {
"r": 47,
"g": 44,
"b": 141
},
"hsl": {
"h": 241.856,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.36483,
"c": 0.15496,
"h": 276.8
},
"luminance": 0.04329
}Semantic roles & 50–950 ramp
primary
#2F2C8D
secondary
#B3B560
accent
#DC4CD7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F