#2C4189#2C4189
#2C4189 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.123 H 268.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4189 |
|---|---|
| RGB | rgb(44, 65, 137) |
| HSL | hsl(226, 51%, 35%) |
| HSV | hsv(226, 68%, 54%) |
| CMYK | cmyk(67.9%, 52.6%, 0%, 46.3%) |
| CIE-LAB | lab(29.72, 16.86, -42.74) |
| CIE-LCH | lch(29.72, 45.95, 291.52°) |
| OKLab | oklab(40.03% -0.0039 -0.1226) |
| OKLCH | oklch(40.03% 0.123 268.2) |
| XYZ | xyz(7.4428, 6.1215, 24.4514) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.74
Darkish Blue
#014182
ΔE00 4.92
Blueberry
#464196
ΔE00 5.34
Cobalt
#0047AB
ΔE00 5.61
Twilight Blue
#0A437A
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4189 #89742C
analogous
#2C6F89 #2C4189 #462C89
triadic
#2C4189 #892C41 #41892C
tetradic
#2C4189 #892C6F #89742C #2C8946
square
#2C4189 #892C6F #89742C #2C8946
split-complementary
#2C4189 #89462C #6F892C
monochromatic
#0E152C #1D2B5B #2C4189 #3B57B7 #637BCD
Accessibility & contrast
On white
9.44
#2C4189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2C4189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4189
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4189 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164A8C
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c4189; /* rgb */ color: rgb(44, 65, 137); /* oklch */ color: oklch(40.0% 0.123 268.2);
Tailwind
colors: {
custom: {
50: '#7075ac',
500: '#2c4189',
950: '#000000',
},
}SCSS
$custom: #2c4189; $custom-light: #7075ac; $custom-dark: #000000;
JSON
{
"hex": "#2c4189",
"rgb": {
"r": 44,
"g": 65,
"b": 137
},
"hsl": {
"h": 226.452,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.4003,
"c": 0.1227,
"h": 268.2
},
"luminance": 0.06122
}Semantic roles & 50–950 ramp
primary
#2C4189
secondary
#B3A05E
accent
#BB4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F