#2C4387#2C4387
#2C4387 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.117 H 267.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4387 |
|---|---|
| RGB | rgb(44, 67, 135) |
| HSL | hsl(225, 51%, 35%) |
| HSV | hsv(225, 67%, 53%) |
| CMYK | cmyk(67.4%, 50.4%, 0%, 47.1%) |
| CIE-LAB | lab(30.15, 14.73, -40.80) |
| CIE-LCH | lch(30.15, 43.38, 289.85°) |
| OKLab | oklab(40.32% -0.0061 -0.1169) |
| OKLCH | oklch(40.32% 0.117 267) |
| XYZ | xyz(7.4175, 6.2984, 23.7418) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.16
Darkish Blue
#014182
ΔE00 4.49
Twilight Blue
#0A437A
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.57
Blueberry
#464196
ΔE00 5.92
Dusk Blue
#26538D
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4387 #87702C
analogous
#2C7187 #2C4387 #422C87
triadic
#2C4387 #872C43 #43872C
tetradic
#2C4387 #872C71 #87702C #2C8742
square
#2C4387 #872C71 #87702C #2C8742
split-complementary
#2C4387 #87422C #71872C
monochromatic
#0E152B #1D2C59 #2C4387 #3B5AB5 #627CCC
Accessibility & contrast
On white
9.29
#2C4387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2C4387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4387
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4387 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#084386
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c4387; /* rgb */ color: rgb(44, 67, 135); /* oklch */ color: oklch(40.3% 0.117 267.0);
Tailwind
colors: {
custom: {
50: '#7076aa',
500: '#2c4387',
950: '#000000',
},
}SCSS
$custom: #2c4387; $custom-light: #7076aa; $custom-dark: #000000;
JSON
{
"hex": "#2c4387",
"rgb": {
"r": 44,
"g": 67,
"b": 135
},
"hsl": {
"h": 224.835,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.40316,
"c": 0.11707,
"h": 267
},
"luminance": 0.06299
}Semantic roles & 50–950 ramp
primary
#2C4387
secondary
#B29C5D
accent
#B74DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F