#2C2D88#2C2D88
#2C2D88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.148 H 275.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D88 |
|---|---|
| RGB | rgb(44, 45, 136) |
| HSL | hsl(239, 51%, 35%) |
| HSV | hsv(239, 68%, 53%) |
| CMYK | cmyk(67.6%, 66.9%, 0%, 46.7%) |
| CIE-LAB | lab(24.29, 29.97, -50.94) |
| CIE-LCH | lch(24.29, 59.11, 300.47°) |
| OKLab | oklab(35.96% 0.0143 -0.147) |
| OKLCH | oklch(35.96% 0.148 275.6) |
| XYZ | xyz(6.4196, 4.1893, 23.7581) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 5.87
Royal
#0C1793
ΔE00 6.01
Midnight Blue
#191970
ΔE00 6.05
Blueberry
#464196
ΔE00 6.38
Indigo Blue
#3A18B1
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D88 #88872C
analogous
#2C5B88 #2C2D88 #592C88
triadic
#2C2D88 #882C2D #2D882C
tetradic
#2C2D88 #882C5B #88872C #2C8859
square
#2C2D88 #882C5B #88872C #2C8859
split-complementary
#2C2D88 #88592C #5B882C
monochromatic
#0E0E2C #1D1E5A #2C2D88 #3B3CB6 #6263CC
Accessibility & contrast
On white
11.43
#2C2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C2D88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D88
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D88 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2d88; /* rgb */ color: rgb(44, 45, 136); /* oklch */ color: oklch(36.0% 0.148 275.6);
Tailwind
colors: {
custom: {
50: '#7266ac',
500: '#2c2d88',
950: '#000000',
},
}SCSS
$custom: #2c2d88; $custom-light: #7266ac; $custom-dark: #000000;
JSON
{
"hex": "#2c2d88",
"rgb": {
"r": 44,
"g": 45,
"b": 136
},
"hsl": {
"h": 239.348,
"s": 51.111,
"l": 35.294
},
"oklch": {
"l": 0.35964,
"c": 0.14766,
"h": 275.6
},
"luminance": 0.0419
}Semantic roles & 50–950 ramp
primary
#2C2D88
secondary
#B3B25D
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F