#2C35A8#2C35A8
#2C35A8 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.181 H 271.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C35A8 |
|---|---|
| RGB | rgb(44, 53, 168) |
| HSL | hsl(236, 58%, 42%) |
| HSV | hsv(236, 74%, 66%) |
| CMYK | cmyk(73.8%, 68.5%, 0%, 34.1%) |
| CIE-LAB | lab(29.18, 36.30, -62.53) |
| CIE-LCH | lch(29.18, 72.30, 300.14°) |
| OKLab | oklab(40.43% 0.0055 -0.1808) |
| OKLCH | oklch(40.43% 0.181 271.7) |
| XYZ | xyz(9.3773, 5.9079, 37.6843) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.51
Blue Blue
#2242C7
ΔE00 5.42
Blueberry
#464196
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C35A8 #A89F2C
analogous
#2C73A8 #2C35A8 #612CA8
triadic
#2C35A8 #A82C35 #35A82C
tetradic
#2C35A8 #A82C73 #A89F2C #2CA861
square
#2C35A8 #A82C73 #A89F2C #2CA861
split-complementary
#2C35A8 #A8612C #73A82C
monochromatic
#131647 #1F2678 #2C35A8 #434DCE #747BDB
Accessibility & contrast
On white
9.63
#2C35A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2C35A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C35A8
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C35A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C35A8 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c35a8; /* rgb */ color: rgb(44, 53, 168); /* oklch */ color: oklch(40.4% 0.181 271.7);
Tailwind
colors: {
custom: {
50: '#786dc3',
500: '#2c35a8',
950: '#000000',
},
}SCSS
$custom: #2c35a8; $custom-light: #786dc3; $custom-dark: #000000;
JSON
{
"hex": "#2c35a8",
"rgb": {
"r": 44,
"g": 53,
"b": 168
},
"hsl": {
"h": 235.645,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.40432,
"c": 0.18091,
"h": 271.7
},
"luminance": 0.05909
}Semantic roles & 50–950 ramp
primary
#2C35A8
secondary
#C2BC6E
accent
#D646E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82