#2C2D8D#2C2D8D
#2C2D8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.154 H 275.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D8D |
|---|---|
| RGB | rgb(44, 45, 141) |
| HSL | hsl(239, 52%, 36%) |
| HSV | hsv(239, 69%, 55%) |
| CMYK | cmyk(68.8%, 68.1%, 0%, 44.7%) |
| CIE-LAB | lab(24.75, 31.76, -53.30) |
| CIE-LCH | lch(24.75, 62.05, 300.79°) |
| OKLab | oklab(36.44% 0.0138 -0.1539) |
| OKLCH | oklch(36.44% 0.154 275.1) |
| XYZ | xyz(6.7832, 4.3347, 25.6734) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.23
Royal
#0C1793
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 5.99
Blueberry
#464196
ΔE00 6.28
Midnight Blue
#191970
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D8D #8D8C2C
analogous
#2C5E8D #2C2D8D #5C2C8D
triadic
#2C2D8D #8D2C2D #2D8D2C
tetradic
#2C2D8D #8D2C5E #8D8C2C #2C8D5C
square
#2C2D8D #8D2C5E #8D8C2C #2C8D5C
split-complementary
#2C2D8D #8D5C2C #5E8D2C
monochromatic
#0F0F30 #1D1E5E #2C2D8D #3B3CBC #6566CF
Accessibility & contrast
On white
11.25
#2C2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2C2D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D8D
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D8D | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2d8d; /* rgb */ color: rgb(44, 45, 141); /* oklch */ color: oklch(36.4% 0.154 275.1);
Tailwind
colors: {
custom: {
50: '#7366af',
500: '#2c2d8d',
950: '#000000',
},
}SCSS
$custom: #2c2d8d; $custom-light: #7366af; $custom-dark: #000000;
JSON
{
"hex": "#2c2d8d",
"rgb": {
"r": 44,
"g": 45,
"b": 141
},
"hsl": {
"h": 239.381,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.36441,
"c": 0.15449,
"h": 275.1
},
"luminance": 0.04335
}Semantic roles & 50–950 ramp
primary
#2C2D8D
secondary
#B5B460
accent
#DA4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F