#2F2C8C#2F2C8C
#2F2C8C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.154 H 276.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C8C |
|---|---|
| RGB | rgb(47, 44, 140) |
| HSL | hsl(242, 52%, 36%) |
| HSV | hsv(242, 69%, 55%) |
| CMYK | cmyk(66.4%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(24.64, 32.47, -52.86) |
| CIE-LCH | lch(24.64, 62.03, 301.56°) |
| OKLab | oklab(36.39% 0.0185 -0.1525) |
| OKLCH | oklch(36.39% 0.154 276.9) |
| XYZ | xyz(6.8051, 4.2986, 25.2770) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.23
Blueberry
#464196
ΔE00 6.36
Indigo Blue
#3A18B1
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C8C #898C2C
analogous
#2C598C #2F2C8C #5F2C8C
triadic
#2F2C8C #8C2F2C #2C8C2F
tetradic
#2F2C8C #8C2C59 #898C2C #2C8C5F
square
#2F2C8C #8C2C59 #898C2C #2C8C5F
split-complementary
#2F2C8C #8C5F2C #598C2C
monochromatic
#100F2F #1F1D5D #2F2C8C #3F3BBB #6764CE
Accessibility & contrast
On white
11.29
#2F2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2F2C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C8C
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C8C | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f2c8c; /* rgb */ color: rgb(47, 44, 140); /* oklch */ color: oklch(36.4% 0.154 276.9);
Tailwind
colors: {
custom: {
50: '#7466af',
500: '#2f2c8c',
950: '#000000',
},
}SCSS
$custom: #2f2c8c; $custom-light: #7466af; $custom-dark: #000000;
JSON
{
"hex": "#2f2c8c",
"rgb": {
"r": 47,
"g": 44,
"b": 140
},
"hsl": {
"h": 241.875,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.36387,
"c": 0.15361,
"h": 276.9
},
"luminance": 0.04299
}Semantic roles & 50–950 ramp
primary
#2F2C8C
secondary
#B2B55F
accent
#DC4CD7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F