#2C2B7F#2C2B7F
#2C2B7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.138 H 277.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2B7F |
|---|---|
| RGB | rgb(44, 43, 127) |
| HSL | hsl(241, 49%, 33%) |
| HSV | hsv(241, 66%, 50%) |
| CMYK | cmyk(65.4%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.98, 28.05, -47.43) |
| CIE-LCH | lch(22.98, 55.10, 300.60°) |
| OKLab | oklab(34.76% 0.0168 -0.1367) |
| OKLCH | oklch(34.76% 0.138 277) |
| XYZ | xyz(5.7321, 3.7951, 20.5050) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 6.21
Royal
#0C1793
ΔE00 6.36
Blueberry
#464196
ΔE00 7.15
Sapphire (survey)
#2138AB
ΔE00 7.27
Indigo (survey)
#380282
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2B7F #7E7F2B
analogous
#2B547F #2C2B7F #562B7F
triadic
#2C2B7F #7F2C2B #2B7F2C
tetradic
#2C2B7F #7F2B54 #7E7F2B #2B7F56
square
#2C2B7F #7F2B54 #7E7F2B #2B7F56
split-complementary
#2C2B7F #7F562B #547F2B
monochromatic
#0C0C24 #1C1C51 #2C2B7F #3C3AAD #5E5CC8
Accessibility & contrast
On white
11.94
#2C2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2B7F
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2B7F | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2b7f; /* rgb */ color: rgb(44, 43, 127); /* oklch */ color: oklch(34.8% 0.138 277.0);
Tailwind
colors: {
custom: {
50: '#7064a5',
500: '#2c2b7f',
950: '#000000',
},
}SCSS
$custom: #2c2b7f; $custom-light: #7064a5; $custom-dark: #000000;
JSON
{
"hex": "#2c2b7f",
"rgb": {
"r": 44,
"g": 43,
"b": 127
},
"hsl": {
"h": 240.714,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.34761,
"c": 0.13769,
"h": 277
},
"luminance": 0.03796
}Semantic roles & 50–950 ramp
primary
#2C2B7F
secondary
#ADAE58
accent
#D94FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F