#2C3594#2C3594
#2C3594 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.154 H 272.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3594 |
|---|---|
| RGB | rgb(44, 53, 148) |
| HSL | hsl(235, 54%, 38%) |
| HSV | hsv(235, 70%, 58%) |
| CMYK | cmyk(70.3%, 64.2%, 0%, 42%) |
| CIE-LAB | lab(27.35, 29.08, -53.37) |
| CIE-LCH | lch(27.35, 60.77, 298.58°) |
| OKLab | oklab(38.54% 0.0071 -0.154) |
| OKLCH | oklch(38.54% 0.154 272.6) |
| XYZ | xyz(7.6553, 5.2191, 28.6152) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Blueberry
#464196
ΔE00 4.73
Darkslateblue
#483D8B
ΔE00 5.27
Ocean Blue
#4F42B5
ΔE00 7.34
Cobalt
#0047AB
ΔE00 7.53
Royal
#0C1793
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3594 #948B2C
analogous
#2C6994 #2C3594 #572C94
triadic
#2C3594 #942C35 #35942C
tetradic
#2C3594 #942C69 #948B2C #2C9457
square
#2C3594 #942C69 #948B2C #2C9457
split-complementary
#2C3594 #94572C #69942C
monochromatic
#101336 #1E2465 #2C3594 #3A46C3 #6871D2
Accessibility & contrast
On white
10.27
#2C3594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2C3594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3594
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3594 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c3594; /* rgb */ color: rgb(44, 53, 148); /* oklch */ color: oklch(38.5% 0.154 272.6);
Tailwind
colors: {
custom: {
50: '#746cb4',
500: '#2c3594',
950: '#000000',
},
}SCSS
$custom: #2c3594; $custom-light: #746cb4; $custom-dark: #000000;
JSON
{
"hex": "#2c3594",
"rgb": {
"r": 44,
"g": 53,
"b": 148
},
"hsl": {
"h": 234.808,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.38537,
"c": 0.15418,
"h": 272.6
},
"luminance": 0.0522
}Semantic roles & 50–950 ramp
primary
#2C3594
secondary
#B9B163
accent
#D14ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80