#2C2D8F#2C2D8F
#2C2D8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.157 H 274.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D8F |
|---|---|
| RGB | rgb(44, 45, 143) |
| HSL | hsl(239, 53%, 37%) |
| HSV | hsv(239, 69%, 56%) |
| CMYK | cmyk(69.2%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.94, 32.47, -54.23) |
| CIE-LCH | lch(24.94, 63.21, 300.91°) |
| OKLab | oklab(36.64% 0.0136 -0.1566) |
| OKLCH | oklch(36.64% 0.157 274.9) |
| XYZ | xyz(6.9334, 4.3948, 26.4642) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.00
Royal
#0C1793
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 6.27
Midnight Blue
#191970
ΔE00 6.61
Indigo Blue
#3A18B1
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D8F #8F8E2C
analogous
#2C5F8F #2C2D8F #5D2C8F
triadic
#2C2D8F #8F2C2D #2D8F2C
tetradic
#2C2D8F #8F2C5F #8F8E2C #2C8F5D
square
#2C2D8F #8F2C5F #8F8E2C #2C8F5D
split-complementary
#2C2D8F #8F5D2C #5F8F2C
monochromatic
#0F1031 #1E1E60 #2C2D8F #3A3CBE #6667D0
Accessibility & contrast
On white
11.18
#2C2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D8F
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D8F | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2d8f; /* rgb */ color: rgb(44, 45, 143); /* oklch */ color: oklch(36.6% 0.157 274.9);
Tailwind
colors: {
custom: {
50: '#7366b1',
500: '#2c2d8f',
950: '#000000',
},
}SCSS
$custom: #2c2d8f; $custom-light: #7366b1; $custom-dark: #000000;
JSON
{
"hex": "#2c2d8f",
"rgb": {
"r": 44,
"g": 45,
"b": 143
},
"hsl": {
"h": 239.394,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.36635,
"c": 0.15719,
"h": 274.9
},
"luminance": 0.04395
}Semantic roles & 50–950 ramp
primary
#2C2D8F
secondary
#B6B561
accent
#DB4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80