#2C34AF#2C34AF
#2C34AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.191 H 271.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2C34AF |
|---|---|
| RGB | rgb(44, 52, 175) |
| HSL | hsl(236, 60%, 43%) |
| HSV | hsv(236, 75%, 69%) |
| CMYK | cmyk(74.9%, 70.3%, 0%, 31.4%) |
| CIE-LAB | lab(29.63, 39.39, -65.99) |
| CIE-LCH | lch(29.63, 76.85, 300.83°) |
| OKLab | oklab(40.96% 0.0053 -0.1909) |
| OKLCH | oklch(40.96% 0.191 271.6) |
| XYZ | xyz(10.0019, 6.0855, 41.1966) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.95
Blue Blue
#2242C7
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.44
Blue With A Hint Of Purple
#533CC6
ΔE00 6.14
Indigo Blue
#3A18B1
ΔE00 6.15
Blueberry
#464196
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C34AF #AFA72C
analogous
#2C75AF #2C34AF #652CAF
triadic
#2C34AF #AF2C34 #34AF2C
tetradic
#2C34AF #AF2C75 #AFA72C #2CAF65
square
#2C34AF #AF2C75 #AFA72C #2CAF65
split-complementary
#2C34AF #AF652C #75AF2C
monochromatic
#13174D #20257E #2C34AF #4750D1 #787EDD
Accessibility & contrast
On white
9.47
#2C34AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2C34AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C34AF
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C34AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C34AF | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c34af; /* rgb */ color: rgb(44, 52, 175); /* oklch */ color: oklch(41.0% 0.191 271.6);
Tailwind
colors: {
custom: {
50: '#7a6cc8',
500: '#2c34af',
950: '#000000',
},
}SCSS
$custom: #2c34af; $custom-light: #7a6cc8; $custom-dark: #000000;
JSON
{
"hex": "#2c34af",
"rgb": {
"r": 44,
"g": 52,
"b": 175
},
"hsl": {
"h": 236.336,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.40961,
"c": 0.19101,
"h": 271.6
},
"luminance": 0.06087
}Semantic roles & 50–950 ramp
primary
#2C34AF
secondary
#C5C072
accent
#D945E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82