#2C478D#2C478D
#2C478D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.121 H 265.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C478D |
|---|---|
| RGB | rgb(44, 71, 141) |
| HSL | hsl(223, 52%, 36%) |
| HSV | hsv(223, 69%, 55%) |
| CMYK | cmyk(68.8%, 49.6%, 0%, 44.7%) |
| CIE-LAB | lab(31.73, 14.30, -41.97) |
| CIE-LCH | lch(31.73, 44.34, 288.81°) |
| OKLab | oklab(41.65% -0.0093 -0.1203) |
| OKLCH | oklch(41.65% 0.121 265.6) |
| XYZ | xyz(8.0980, 6.9643, 26.1116) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.08
Darkish Blue
#014182
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 5.08
Twilight Blue
#0A437A
ΔE00 5.11
Light Navy
#155084
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C478D #8D722C
analogous
#2C788D #2C478D #422C8D
triadic
#2C478D #8D2C47 #478D2C
tetradic
#2C478D #8D2C78 #8D722C #2C8D42
square
#2C478D #8D2C78 #8D722C #2C8D42
split-complementary
#2C478D #8D422C #788D2C
monochromatic
#0F1830 #1D305E #2C478D #3B5EBC #6582CF
Accessibility & contrast
On white
8.78
#2C478D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C478D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C478D
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C478D | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#09468C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c478d; /* rgb */ color: rgb(44, 71, 141); /* oklch */ color: oklch(41.6% 0.121 265.6);
Tailwind
colors: {
custom: {
50: '#7179af',
500: '#2c478d',
950: '#000000',
},
}SCSS
$custom: #2c478d; $custom-light: #7179af; $custom-dark: #000000;
JSON
{
"hex": "#2c478d",
"rgb": {
"r": 44,
"g": 71,
"b": 141
},
"hsl": {
"h": 223.299,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.41646,
"c": 0.12064,
"h": 265.6
},
"luminance": 0.06965
}Semantic roles & 50–950 ramp
primary
#2C478D
secondary
#B59D60
accent
#B44CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F