#2F2C7C#2F2C7C
#2F2C7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.131 H 278.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C7C |
|---|---|
| RGB | rgb(47, 44, 124) |
| HSL | hsl(242, 48%, 33%) |
| HSV | hsv(242, 65%, 49%) |
| CMYK | cmyk(62.1%, 64.5%, 0%, 51.4%) |
| CIE-LAB | lab(23.20, 26.84, -45.16) |
| CIE-LCH | lch(23.20, 52.53, 300.72°) |
| OKLab | oklab(34.9% 0.0201 -0.1299) |
| OKLCH | oklch(34.9% 0.131 278.8) |
| XYZ | xyz(5.7099, 3.8605, 19.5091) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 5.85
Blueberry
#464196
ΔE00 7.00
Royal
#0C1793
ΔE00 7.05
Sapphire (survey)
#2138AB
ΔE00 7.74
Marine
#042E60
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C7C #797C2C
analogous
#2C517C #2F2C7C #572C7C
triadic
#2F2C7C #7C2F2C #2C7C2F
tetradic
#2F2C7C #7C2C51 #797C2C #2C7C57
square
#2F2C7C #7C2C51 #797C2C #2C7C57
split-complementary
#2F2C7C #7C572C #517C2C
monochromatic
#0D0C22 #1E1C4F #2F2C7C #403CA9 #615DC5
Accessibility & contrast
On white
11.85
#2F2C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F2C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C7C
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C7C | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f2c7c; /* rgb */ color: rgb(47, 44, 124); /* oklch */ color: oklch(34.9% 0.131 278.8);
Tailwind
colors: {
custom: {
50: '#7065a3',
500: '#2f2c7c',
950: '#000000',
},
}SCSS
$custom: #2f2c7c; $custom-light: #7065a3; $custom-dark: #000000;
JSON
{
"hex": "#2f2c7c",
"rgb": {
"r": 47,
"g": 44,
"b": 124
},
"hsl": {
"h": 242.25,
"s": 47.619,
"l": 32.941
},
"oklch": {
"l": 0.34903,
"c": 0.13144,
"h": 278.8
},
"luminance": 0.03861
}Semantic roles & 50–950 ramp
primary
#2F2C7C
secondary
#A8AC58
accent
#D751D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F