#2C35A6#2C35A6
#2C35A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.178 H 271.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C35A6 |
|---|---|
| RGB | rgb(44, 53, 166) |
| HSL | hsl(236, 58%, 41%) |
| HSV | hsv(236, 73%, 65%) |
| CMYK | cmyk(73.5%, 68.1%, 0%, 34.9%) |
| CIE-LAB | lab(28.99, 35.59, -61.63) |
| CIE-LCH | lch(28.99, 71.17, 300.00°) |
| OKLab | oklab(40.24% 0.0057 -0.1782) |
| OKLCH | oklch(40.24% 0.178 271.8) |
| XYZ | xyz(9.1924, 5.8339, 36.7106) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.56
Blueberry
#464196
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.62
Ocean Blue
#4F42B5
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.55
Indigo Blue
#3A18B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C35A6 #A69D2C
analogous
#2C72A6 #2C35A6 #602CA6
triadic
#2C35A6 #A62C35 #35A62C
tetradic
#2C35A6 #A62C72 #A69D2C #2CA660
square
#2C35A6 #A62C72 #A69D2C #2CA660
split-complementary
#2C35A6 #A6602C #72A62C
monochromatic
#121645 #1F2676 #2C35A6 #424CCD #737ADA
Accessibility & contrast
On white
9.69
#2C35A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C35A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C35A6
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C35A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C35A6 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c35a6; /* rgb */ color: rgb(44, 53, 166); /* oklch */ color: oklch(40.2% 0.178 271.8);
Tailwind
colors: {
custom: {
50: '#786cc1',
500: '#2c35a6',
950: '#000000',
},
}SCSS
$custom: #2c35a6; $custom-light: #786cc1; $custom-dark: #000000;
JSON
{
"hex": "#2c35a6",
"rgb": {
"r": 44,
"g": 53,
"b": 166
},
"hsl": {
"h": 235.574,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.40237,
"c": 0.17831,
"h": 271.8
},
"luminance": 0.05835
}Semantic roles & 50–950 ramp
primary
#2C35A6
secondary
#C1BB6D
accent
#D646E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81