#1A478C#1A478C
#1A478C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.125 H 259.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1A478C |
|---|---|
| RGB | rgb(26, 71, 140) |
| HSL | hsl(216, 69%, 33%) |
| HSV | hsv(216, 81%, 55%) |
| CMYK | cmyk(81.4%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(30.92, 11.36, -42.69) |
| CIE-LCH | lch(30.92, 44.17, 284.90°) |
| OKLab | oklab(40.81% -0.0238 -0.1227) |
| OKLCH | oklch(40.81% 0.125 259) |
| XYZ | xyz(7.4111, 6.6187, 25.6928) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.64
Darkish Blue
#014182
ΔE00 2.55
Twilight Blue
#0A437A
ΔE00 3.14
Dusk Blue
#26538D
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.11
Prussian Blue
#004577
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A478C #8C5F1A
analogous
#1A808C #1A478C #261A8C
triadic
#1A478C #8C1A47 #478C1A
tetradic
#1A478C #8C1A80 #8C5F1A #1A8C26
square
#1A478C #8C1A80 #8C5F1A #1A8C26
split-complementary
#1A478C #8C261A #808C1A
monochromatic
#071325 #102D58 #1A478C #2461C0 #4480DC
Accessibility & contrast
On white
9.04
#1A478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1A478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A478C
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A478C | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1a478c; /* rgb */ color: rgb(26, 71, 140); /* oklch */ color: oklch(40.8% 0.125 259.0);
Tailwind
colors: {
custom: {
50: '#6a79ae',
500: '#1a478c',
950: '#000000',
},
}SCSS
$custom: #1a478c; $custom-light: #6a79ae; $custom-dark: #000000;
JSON
{
"hex": "#1a478c",
"rgb": {
"r": 26,
"g": 71,
"b": 140
},
"hsl": {
"h": 216.316,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.40806,
"c": 0.12498,
"h": 259
},
"luminance": 0.0662
}Semantic roles & 50–950 ramp
primary
#1A478C
secondary
#BE8E44
accent
#A63CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F