#2C3A86#2C3A86
#2C3A86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.128 H 271.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3A86 |
|---|---|
| RGB | rgb(44, 58, 134) |
| HSL | hsl(231, 51%, 35%) |
| HSV | hsv(231, 67%, 53%) |
| CMYK | cmyk(67.2%, 56.7%, 0%, 47.5%) |
| CIE-LAB | lab(27.52, 20.51, -44.43) |
| CIE-LCH | lch(27.52, 48.93, 294.78°) |
| OKLab | oklab(38.31% 0.0027 -0.1277) |
| OKLCH | oklch(38.31% 0.128 271.2) |
| XYZ | xyz(6.8534, 5.2822, 23.2080) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 5.75
Cobalt (survey)
#1E488F
ΔE00 6.00
Darkish Blue
#014182
ΔE00 6.44
Cobalt
#0047AB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3A86 #86782C
analogous
#2C6786 #2C3A86 #4B2C86
triadic
#2C3A86 #862C3A #3A862C
tetradic
#2C3A86 #862C67 #86782C #2C864B
square
#2C3A86 #862C67 #86782C #2C864B
split-complementary
#2C3A86 #864B2C #67862C
monochromatic
#0E122A #1D2658 #2C3A86 #3B4EB4 #6172CB
Accessibility & contrast
On white
10.21
#2C3A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2C3A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3A86
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3A86 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c3a86; /* rgb */ color: rgb(44, 58, 134); /* oklch */ color: oklch(38.3% 0.128 271.2);
Tailwind
colors: {
custom: {
50: '#706faa',
500: '#2c3a86',
950: '#000000',
},
}SCSS
$custom: #2c3a86; $custom-light: #706faa; $custom-dark: #000000;
JSON
{
"hex": "#2c3a86",
"rgb": {
"r": 44,
"g": 58,
"b": 134
},
"hsl": {
"h": 230.667,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.38306,
"c": 0.12773,
"h": 271.2
},
"luminance": 0.05283
}Semantic roles & 50–950 ramp
primary
#2C3A86
secondary
#B1A45C
accent
#C44EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F