#2C34A6#2C34A6
#2C34A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.179 H 272.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C34A6 |
|---|---|
| RGB | rgb(44, 52, 166) |
| HSL | hsl(236, 58%, 41%) |
| HSV | hsv(236, 73%, 65%) |
| CMYK | cmyk(73.5%, 68.7%, 0%, 34.9%) |
| CIE-LAB | lab(28.76, 36.22, -62.02) |
| CIE-LCH | lch(28.76, 71.82, 300.29°) |
| OKLab | oklab(40.07% 0.0063 -0.1793) |
| OKLCH | oklch(40.07% 0.179 272) |
| XYZ | xyz(9.1473, 5.7437, 36.6956) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blueberry
#464196
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 5.90
Indigo Blue
#3A18B1
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C34A6 #A69E2C
analogous
#2C71A6 #2C34A6 #612CA6
triadic
#2C34A6 #A62C34 #34A62C
tetradic
#2C34A6 #A62C71 #A69E2C #2CA661
square
#2C34A6 #A62C71 #A69E2C #2CA661
split-complementary
#2C34A6 #A6612C #71A62C
monochromatic
#121645 #1F2576 #2C34A6 #424BCD #7379DA
Accessibility & contrast
On white
9.77
#2C34A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C34A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C34A6
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C34A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C34A6 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c34a6; /* rgb */ color: rgb(44, 52, 166); /* oklch */ color: oklch(40.1% 0.179 272.0);
Tailwind
colors: {
custom: {
50: '#786cc1',
500: '#2c34a6',
950: '#000000',
},
}SCSS
$custom: #2c34a6; $custom-light: #786cc1; $custom-dark: #000000;
JSON
{
"hex": "#2c34a6",
"rgb": {
"r": 44,
"g": 52,
"b": 166
},
"hsl": {
"h": 236.066,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.40068,
"c": 0.17945,
"h": 272
},
"luminance": 0.05745
}Semantic roles & 50–950 ramp
primary
#2C34A6
secondary
#C1BC6D
accent
#D746E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81