#2C2D99#2C2D99
#2C2D99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.170 H 274.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2D99 |
|---|---|
| RGB | rgb(44, 45, 153) |
| HSL | hsl(239, 55%, 39%) |
| HSV | hsv(239, 71%, 60%) |
| CMYK | cmyk(71.2%, 70.6%, 0%, 40%) |
| CIE-LAB | lab(25.90, 35.99, -58.82) |
| CIE-LCH | lch(25.90, 68.96, 301.47°) |
| OKLab | oklab(37.62% 0.0123 -0.17) |
| OKLCH | oklch(37.62% 0.17 274.1) |
| XYZ | xyz(7.7249, 4.7114, 30.6331) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Royal
#0C1793
ΔE00 5.41
Indigo Blue
#3A18B1
ΔE00 5.85
Blueberry
#464196
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.56
Cobalt Blue
#030AA7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2D99 #99982C
analogous
#2C6399 #2C2D99 #612C99
triadic
#2C2D99 #992C2D #2D992C
tetradic
#2C2D99 #992C63 #99982C #2C9961
square
#2C2D99 #992C63 #99982C #2C9961
split-complementary
#2C2D99 #99612C #63992C
monochromatic
#11113A #1E1F69 #2C2D99 #3B3DC7 #6B6CD4
Accessibility & contrast
On white
10.81
#2C2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C2D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2D99
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2D99 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c2d99; /* rgb */ color: rgb(44, 45, 153); /* oklch */ color: oklch(37.6% 0.170 274.1);
Tailwind
colors: {
custom: {
50: '#7567b8',
500: '#2c2d99',
950: '#000000',
},
}SCSS
$custom: #2c2d99; $custom-light: #7567b8; $custom-dark: #000000;
JSON
{
"hex": "#2c2d99",
"rgb": {
"r": 44,
"g": 45,
"b": 153
},
"hsl": {
"h": 239.45,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.37621,
"c": 0.17044,
"h": 274.1
},
"luminance": 0.04712
}Semantic roles & 50–950 ramp
primary
#2C2D99
secondary
#BBBA66
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80