#2A78B7#2A78B7
#2A78B7 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.123 H 247.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A78B7 |
|---|---|
| RGB | rgb(42, 120, 183) |
| HSL | hsl(207, 63%, 44%) |
| HSV | hsv(207, 77%, 72%) |
| CMYK | cmyk(77%, 34.4%, 0%, 28.2%) |
| CIE-LAB | lab(48.69, -1.52, -39.92) |
| CIE-LCH | lch(48.69, 39.95, 267.82°) |
| OKLab | oklab(55.61% -0.048 -0.1135) |
| OKLCH | oklch(55.61% 0.123 247.1) |
| XYZ | xyz(16.2153, 17.3422, 47.2833) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.18
Windows Blue
#3778BF
ΔE00 2.48
Flat Blue
#3C73A8
ΔE00 2.90
Nice Blue
#107AB0
ΔE00 3.55
Muted Blue
#3B719F
ΔE00 3.78
Medium Blue
#2C6FBB
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A78B7 #B7692A
analogous
#2AB7B0 #2A78B7 #2A31B7
triadic
#2A78B7 #B72A78 #78B72A
tetradic
#2A78B7 #B02AB7 #B7692A #31B72A
square
#2A78B7 #B02AB7 #B7692A #31B72A
split-complementary
#2A78B7 #B72A31 #B7B02A
monochromatic
#133753 #1F5785 #2A78B7 #4997D5 #7BB3E1
Accessibility & contrast
On white
4.70
#2A78B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#2A78B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A78B7
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A78B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A78B7 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#476EB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2a78b7; /* rgb */ color: rgb(42, 120, 183); /* oklch */ color: oklch(55.6% 0.123 247.1);
Tailwind
colors: {
custom: {
50: '#789ecd',
500: '#2a78b7',
950: '#000000',
},
}SCSS
$custom: #2a78b7; $custom-light: #789ecd; $custom-dark: #000000;
JSON
{
"hex": "#2a78b7",
"rgb": {
"r": 42,
"g": 120,
"b": 183
},
"hsl": {
"h": 206.809,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.55606,
"c": 0.12323,
"h": 247.1
},
"luminance": 0.17344
}Semantic roles & 50–950 ramp
primary
#2A78B7
secondary
#C99A74
accent
#8B42E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82