#2C4289#2C4289
#2C4289 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.121 H 267.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4289 |
|---|---|
| RGB | rgb(44, 66, 137) |
| HSL | hsl(226, 51%, 35%) |
| HSV | hsv(226, 68%, 54%) |
| CMYK | cmyk(67.9%, 51.8%, 0%, 46.3%) |
| CIE-LAB | lab(30.00, 16.18, -42.28) |
| CIE-LCH | lch(30.00, 45.27, 290.93°) |
| OKLab | oklab(40.25% -0.0048 -0.1213) |
| OKLCH | oklch(40.25% 0.121 267.7) |
| XYZ | xyz(7.5007, 6.2373, 24.4707) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.43
Darkish Blue
#014182
ΔE00 4.74
Cobalt
#0047AB
ΔE00 5.47
Blueberry
#464196
ΔE00 5.52
Twilight Blue
#0A437A
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4289 #89732C
analogous
#2C7089 #2C4289 #442C89
triadic
#2C4289 #892C42 #42892C
tetradic
#2C4289 #892C70 #89732C #2C8944
square
#2C4289 #892C70 #89732C #2C8944
split-complementary
#2C4289 #89442C #70892C
monochromatic
#0E152C #1D2C5B #2C4289 #3B58B7 #637CCD
Accessibility & contrast
On white
9.34
#2C4289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2C4289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4289
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4289 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c4289; /* rgb */ color: rgb(44, 66, 137); /* oklch */ color: oklch(40.2% 0.121 267.7);
Tailwind
colors: {
custom: {
50: '#7076ac',
500: '#2c4289',
950: '#000000',
},
}SCSS
$custom: #2c4289; $custom-light: #7076ac; $custom-dark: #000000;
JSON
{
"hex": "#2c4289",
"rgb": {
"r": 44,
"g": 66,
"b": 137
},
"hsl": {
"h": 225.806,
"s": 51.381,
"l": 35.49
},
"oklch": {
"l": 0.40247,
"c": 0.12137,
"h": 267.7
},
"luminance": 0.06238
}Semantic roles & 50–950 ramp
primary
#2C4289
secondary
#B39F5E
accent
#B94DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F