#2C487A#2C487A
#2C487A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.091 H 261.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C487A |
|---|---|
| RGB | rgb(44, 72, 122) |
| HSL | hsl(218, 47%, 33%) |
| HSV | hsv(218, 64%, 48%) |
| CMYK | cmyk(63.9%, 41%, 0%, 52.2%) |
| CIE-LAB | lab(30.82, 6.45, -31.66) |
| CIE-LCH | lch(30.82, 32.31, 281.52°) |
| OKLab | oklab(40.56% -0.014 -0.09) |
| OKLCH | oklch(40.56% 0.091 261.2) |
| XYZ | xyz(6.8677, 6.5747, 19.3157) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.27
Twilight Blue
#0A437A
ΔE00 3.81
Darkish Blue
#014182
ΔE00 4.04
Dusk Blue
#26538D
ΔE00 4.74
Prussian Blue
#004577
ΔE00 4.94
Light Navy
#155084
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C487A #7A5E2C
analogous
#2C6F7A #2C487A #372C7A
triadic
#2C487A #7A2C48 #487A2C
tetradic
#2C487A #7A2C6F #7A5E2C #2C7A37
square
#2C487A #7A2C6F #7A5E2C #2C7A37
split-complementary
#2C487A #7A372C #6F7A2C
monochromatic
#0C1320 #1C2D4D #2C487A #3C63A7 #5C82C4
Accessibility & contrast
On white
9.07
#2C487A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2C487A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C487A
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C487A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C487A | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c487a; /* rgb */ color: rgb(44, 72, 122); /* oklch */ color: oklch(40.6% 0.091 261.2);
Tailwind
colors: {
custom: {
50: '#6d7aa1',
500: '#2c487a',
950: '#000000',
},
}SCSS
$custom: #2c487a; $custom-light: #6d7aa1; $custom-dark: #000000;
JSON
{
"hex": "#2c487a",
"rgb": {
"r": 44,
"g": 72,
"b": 122
},
"hsl": {
"h": 218.462,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.40559,
"c": 0.09105,
"h": 261.2
},
"luminance": 0.06575
}Semantic roles & 50–950 ramp
primary
#2C487A
secondary
#AA8D57
accent
#A751D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E