#2C477A#2C477A
#2C477A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.092 H 262.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C477A |
|---|---|
| RGB | rgb(44, 71, 122) |
| HSL | hsl(219, 47%, 33%) |
| HSV | hsv(219, 64%, 48%) |
| CMYK | cmyk(63.9%, 41.8%, 0%, 52.2%) |
| CIE-LAB | lab(30.51, 7.12, -32.14) |
| CIE-LCH | lch(30.51, 32.92, 282.49°) |
| OKLab | oklab(40.32% -0.0128 -0.0914) |
| OKLCH | oklch(40.32% 0.092 262) |
| XYZ | xyz(6.8036, 6.4465, 19.2943) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.35
Twilight Blue
#0A437A
ΔE00 3.90
Darkish Blue
#014182
ΔE00 4.04
Dusk Blue
#26538D
ΔE00 5.08
Prussian Blue
#004577
ΔE00 5.13
Light Navy
#155084
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C477A #7A5F2C
analogous
#2C6E7A #2C477A #382C7A
triadic
#2C477A #7A2C47 #477A2C
tetradic
#2C477A #7A2C6E #7A5F2C #2C7A38
square
#2C477A #7A2C6E #7A5F2C #2C7A38
split-complementary
#2C477A #7A382C #6E7A2C
monochromatic
#0C1320 #1C2D4D #2C477A #3C61A7 #5C80C4
Accessibility & contrast
On white
9.17
#2C477A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2C477A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C477A
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C477A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C477A | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c477a; /* rgb */ color: rgb(44, 71, 122); /* oklch */ color: oklch(40.3% 0.092 262.0);
Tailwind
colors: {
custom: {
50: '#6d79a1',
500: '#2c477a',
950: '#000000',
},
}SCSS
$custom: #2c477a; $custom-light: #6d79a1; $custom-dark: #000000;
JSON
{
"hex": "#2c477a",
"rgb": {
"r": 44,
"g": 71,
"b": 122
},
"hsl": {
"h": 219.231,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.40322,
"c": 0.0923,
"h": 262
},
"luminance": 0.06447
}Semantic roles & 50–950 ramp
primary
#2C477A
secondary
#AA8E57
accent
#A851D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E