#2C2B8E#2C2B8E
#2C2B8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.158 H 275.5°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2B8E |
|---|---|
| RGB | rgb(44, 43, 142) |
| HSL | hsl(241, 54%, 36%) |
| HSV | hsv(241, 70%, 56%) |
| CMYK | cmyk(69%, 69.7%, 0%, 44.3%) |
| CIE-LAB | lab(24.37, 33.38, -54.54) |
| CIE-LCH | lch(24.37, 63.95, 301.47°) |
| OKLab | oklab(36.2% 0.0151 -0.1575) |
| OKLCH | oklch(36.2% 0.158 275.5) |
| XYZ | xyz(6.7835, 4.2156, 26.0422) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.12
Sapphire (survey)
#2138AB
ΔE00 5.45
Midnight Blue
#191970
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.38
Blueberry
#464196
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2B8E #8D8E2B
analogous
#2B5C8E #2C2B8E #5E2B8E
triadic
#2C2B8E #8E2C2B #2B8E2C
tetradic
#2C2B8E #8E2B5C #8D8E2B #2B8E5E
square
#2C2B8E #8E2B5C #8D8E2B #2B8E5E
split-complementary
#2C2B8E #8E5E2B #5C8E2B
monochromatic
#0F0F30 #1D1D5F #2C2B8E #3B39BD #6563D0
Accessibility & contrast
On white
11.39
#2C2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C2B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2B8E
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2B8E | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2b8e; /* rgb */ color: rgb(44, 43, 142); /* oklch */ color: oklch(36.2% 0.158 275.5);
Tailwind
colors: {
custom: {
50: '#7365b0',
500: '#2c2b8e',
950: '#000000',
},
}SCSS
$custom: #2c2b8e; $custom-light: #7365b0; $custom-dark: #000000;
JSON
{
"hex": "#2c2b8e",
"rgb": {
"r": 44,
"g": 43,
"b": 142
},
"hsl": {
"h": 240.606,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.36198,
"c": 0.15823,
"h": 275.5
},
"luminance": 0.04216
}Semantic roles & 50–950 ramp
primary
#2C2B8E
secondary
#B5B65F
accent
#DD4BDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090511
muted
#7B7A80