#2C2B8F#2C2B8F
#2C2B8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.160 H 275.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2B8F |
|---|---|
| RGB | rgb(44, 43, 143) |
| HSL | hsl(241, 54%, 36%) |
| HSV | hsv(241, 70%, 56%) |
| CMYK | cmyk(69.2%, 69.9%, 0%, 43.9%) |
| CIE-LAB | lab(24.47, 33.73, -55.00) |
| CIE-LCH | lch(24.47, 64.52, 301.52°) |
| OKLab | oklab(36.3% 0.015 -0.1588) |
| OKLCH | oklch(36.3% 0.16 275.4) |
| XYZ | xyz(6.8589, 4.2458, 26.4393) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.35
Midnight Blue
#191970
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.42
Indigo Blue
#3A18B1
ΔE00 6.62
Blueberry
#464196
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2B8F #8E8F2B
analogous
#2B5C8F #2C2B8F #5E2B8F
triadic
#2C2B8F #8F2C2B #2B8F2C
tetradic
#2C2B8F #8F2B5C #8E8F2B #2B8F5E
square
#2C2B8F #8F2B5C #8E8F2B #2B8F5E
split-complementary
#2C2B8F #8F5E2B #5C8F2B
monochromatic
#0F0F31 #1E1D60 #2C2B8F #3A39BE #6564D0
Accessibility & contrast
On white
11.36
#2C2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2C2B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2B8F
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2B8F | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2b8f; /* rgb */ color: rgb(44, 43, 143); /* oklch */ color: oklch(36.3% 0.160 275.4);
Tailwind
colors: {
custom: {
50: '#7365b1',
500: '#2c2b8f',
950: '#000000',
},
}SCSS
$custom: #2c2b8f; $custom-light: #7365b1; $custom-dark: #000000;
JSON
{
"hex": "#2c2b8f",
"rgb": {
"r": 44,
"g": 43,
"b": 143
},
"hsl": {
"h": 240.6,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.36296,
"c": 0.15956,
"h": 275.4
},
"luminance": 0.04246
}Semantic roles & 50–950 ramp
primary
#2C2B8F
secondary
#B6B75F
accent
#DD4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80