#2C4086#2C4086
#2C4086 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.6% C 0.120 H 268.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4086 |
|---|---|
| RGB | rgb(44, 64, 134) |
| HSL | hsl(227, 51%, 35%) |
| HSV | hsv(227, 67%, 53%) |
| CMYK | cmyk(67.2%, 52.2%, 0%, 47.5%) |
| CIE-LAB | lab(29.22, 16.40, -41.69) |
| CIE-LCH | lch(29.22, 44.80, 291.48°) |
| OKLab | oklab(39.58% -0.0032 -0.1196) |
| OKLCH | oklch(39.58% 0.12 268.5) |
| XYZ | xyz(7.1737, 5.9228, 23.3148) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.08
Darkish Blue
#014182
ΔE00 4.98
Blueberry
#464196
ΔE00 5.46
Twilight Blue
#0A437A
ΔE00 5.81
Cobalt
#0047AB
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4086 #86722C
analogous
#2C6D86 #2C4086 #452C86
triadic
#2C4086 #862C40 #40862C
tetradic
#2C4086 #862C6D #86722C #2C8645
square
#2C4086 #862C6D #86722C #2C8645
split-complementary
#2C4086 #86452C #6D862C
monochromatic
#0E142A #1D2A58 #2C4086 #3B56B4 #6179CB
Accessibility & contrast
On white
9.61
#2C4086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2C4086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4086
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4086 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c4086; /* rgb */ color: rgb(44, 64, 134); /* oklch */ color: oklch(39.6% 0.120 268.5);
Tailwind
colors: {
custom: {
50: '#7074aa',
500: '#2c4086',
950: '#000000',
},
}SCSS
$custom: #2c4086; $custom-light: #7074aa; $custom-dark: #000000;
JSON
{
"hex": "#2c4086",
"rgb": {
"r": 44,
"g": 64,
"b": 134
},
"hsl": {
"h": 226.667,
"s": 50.562,
"l": 34.902
},
"oklch": {
"l": 0.39582,
"c": 0.1196,
"h": 268.5
},
"luminance": 0.05923
}Semantic roles & 50–950 ramp
primary
#2C4086
secondary
#B19F5C
accent
#BB4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F