#2C407A#2C407A
#2C407A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.102 H 267.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2C407A |
|---|---|
| RGB | rgb(44, 64, 122) |
| HSL | hsl(225, 47%, 33%) |
| HSV | hsv(225, 64%, 48%) |
| CMYK | cmyk(63.9%, 47.5%, 0%, 52.2%) |
| CIE-LAB | lab(28.40, 11.87, -35.52) |
| CIE-LCH | lch(28.40, 37.45, 288.48°) |
| OKLab | oklab(38.7% -0.0048 -0.1014) |
| OKLCH | oklch(38.7% 0.102 267.3) |
| XYZ | xyz(6.3838, 5.6069, 19.1544) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.67
Darkish Blue
#014182
ΔE00 4.83
Twilight Blue
#0A437A
ΔE00 5.28
Marine Blue
#01386A
ΔE00 5.66
Marine
#042E60
ΔE00 6.81
Prussian Blue
#004577
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C407A #7A662C
analogous
#2C677A #2C407A #3F2C7A
triadic
#2C407A #7A2C40 #407A2C
tetradic
#2C407A #7A2C67 #7A662C #2C7A3F
square
#2C407A #7A2C67 #7A662C #2C7A3F
split-complementary
#2C407A #7A3F2C #677A2C
monochromatic
#0C1120 #1C284D #2C407A #3C58A7 #5C77C4
Accessibility & contrast
On white
9.90
#2C407A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2C407A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C407A
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C407A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C407A | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#184079
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c407a; /* rgb */ color: rgb(44, 64, 122); /* oklch */ color: oklch(38.7% 0.102 267.3);
Tailwind
colors: {
custom: {
50: '#6d74a1',
500: '#2c407a',
950: '#000000',
},
}SCSS
$custom: #2c407a; $custom-light: #6d74a1; $custom-dark: #000000;
JSON
{
"hex": "#2c407a",
"rgb": {
"r": 44,
"g": 64,
"b": 122
},
"hsl": {
"h": 224.615,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.38696,
"c": 0.10152,
"h": 267.3
},
"luminance": 0.05607
}Semantic roles & 50–950 ramp
primary
#2C407A
secondary
#AA9557
accent
#B451D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E