#2A78B4#2A78B4
#2A78B4 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.120 H 245.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A78B4 |
|---|---|
| RGB | rgb(42, 120, 180) |
| HSL | hsl(206, 62%, 44%) |
| HSV | hsv(206, 77%, 71%) |
| CMYK | cmyk(76.7%, 33.3%, 0%, 29.4%) |
| CIE-LAB | lab(48.53, -2.63, -38.43) |
| CIE-LCH | lch(48.53, 38.52, 266.09°) |
| OKLab | oklab(55.43% -0.0489 -0.1091) |
| OKLCH | oklch(55.43% 0.12 245.9) |
| XYZ | xyz(15.9064, 17.2186, 45.6564) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.63
Flat Blue
#3C73A8
ΔE00 2.94
Windows Blue
#3778BF
ΔE00 2.94
Nice Blue
#107AB0
ΔE00 3.05
Muted Blue
#3B719F
ΔE00 3.61
Dull Blue
#49759C
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A78B4 #B4662A
analogous
#2AB4AB #2A78B4 #2A33B4
triadic
#2A78B4 #B42A78 #78B42A
tetradic
#2A78B4 #AB2AB4 #B4662A #33B42A
square
#2A78B4 #AB2AB4 #B4662A #33B42A
split-complementary
#2A78B4 #B42A33 #B4AB2A
monochromatic
#133651 #1E5782 #2A78B4 #4797D4 #79B3E0
Accessibility & contrast
On white
4.73
#2A78B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#2A78B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A78B4
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A78B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A78B4 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7AB7
Deuteranopia (green-blind)
#496EB3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2a78b4; /* rgb */ color: rgb(42, 120, 180); /* oklch */ color: oklch(55.4% 0.120 245.9);
Tailwind
colors: {
custom: {
50: '#779ecb',
500: '#2a78b4',
950: '#000000',
},
}SCSS
$custom: #2a78b4; $custom-light: #779ecb; $custom-dark: #000000;
JSON
{
"hex": "#2a78b4",
"rgb": {
"r": 42,
"g": 120,
"b": 180
},
"hsl": {
"h": 206.087,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.55434,
"c": 0.11958,
"h": 245.9
},
"luminance": 0.1722
}Semantic roles & 50–950 ramp
primary
#2A78B4
secondary
#C89772
accent
#8943E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82