#2A78AA#2A78AA
#2A78AA is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.108 H 241.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A78AA |
|---|---|
| RGB | rgb(42, 120, 170) |
| HSL | hsl(203, 60%, 42%) |
| HSV | hsv(203, 75%, 67%) |
| CMYK | cmyk(75.3%, 29.4%, 0%, 33.3%) |
| CIE-LAB | lab(48.04, -6.29, -33.40) |
| CIE-LCH | lch(48.04, 33.99, 259.34°) |
| OKLab | oklab(54.88% -0.052 -0.0945) |
| OKLCH | oklch(54.88% 0.108 241.2) |
| XYZ | xyz(14.9242, 16.8257, 40.4836) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.57
Muted Blue
#3B719F
ΔE00 3.59
Bluish
#2976BB
ΔE00 3.59
Flat Blue
#3C73A8
ΔE00 3.77
Cerulean
#007BA7
ΔE00 3.94
Dull Blue
#49759C
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A78AA #AA5C2A
analogous
#2AAA9C #2A78AA #2A38AA
triadic
#2A78AA #AA2A78 #78AA2A
tetradic
#2A78AA #9C2AAA #AA5C2A #38AA2A
square
#2A78AA #9C2AAA #AA5C2A #38AA2A
split-complementary
#2A78AA #AA2A38 #AA9C2A
monochromatic
#123348 #1E5579 #2A78AA #4198D0 #72B3DC
Accessibility & contrast
On white
4.81
#2A78AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#2A78AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A78AA
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A78AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A78AA | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#4F6DA9
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2a78aa; /* rgb */ color: rgb(42, 120, 170); /* oklch */ color: oklch(54.9% 0.108 241.2);
Tailwind
colors: {
custom: {
50: '#769ec3',
500: '#2a78aa',
950: '#000000',
},
}SCSS
$custom: #2a78aa; $custom-light: #769ec3; $custom-dark: #000000;
JSON
{
"hex": "#2a78aa",
"rgb": {
"r": 42,
"g": 120,
"b": 170
},
"hsl": {
"h": 203.438,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.54881,
"c": 0.10783,
"h": 241.2
},
"luminance": 0.16827
}Semantic roles & 50–950 ramp
primary
#2A78AA
secondary
#C38E6C
accent
#8244E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81