#2A78B5#2A78B5
#2A78B5 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.121 H 246.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A78B5 |
|---|---|
| RGB | rgb(42, 120, 181) |
| HSL | hsl(206, 62%, 44%) |
| HSV | hsv(206, 77%, 71%) |
| CMYK | cmyk(76.8%, 33.7%, 0%, 29%) |
| CIE-LAB | lab(48.59, -2.26, -38.93) |
| CIE-LCH | lch(48.59, 38.99, 266.68°) |
| OKLab | oklab(55.49% -0.0486 -0.1106) |
| OKLCH | oklch(55.49% 0.121 246.3) |
| XYZ | xyz(16.0086, 17.2595, 46.1948) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.47
Windows Blue
#3778BF
ΔE00 2.78
Flat Blue
#3C73A8
ΔE00 2.92
Nice Blue
#107AB0
ΔE00 3.22
Muted Blue
#3B719F
ΔE00 3.66
Medium Blue
#2C6FBB
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A78B5 #B5672A
analogous
#2AB5AC #2A78B5 #2A32B5
triadic
#2A78B5 #B52A78 #78B52A
tetradic
#2A78B5 #AC2AB5 #B5672A #32B52A
square
#2A78B5 #AC2AB5 #B5672A #32B52A
split-complementary
#2A78B5 #B52A32 #B5AC2A
monochromatic
#133652 #1E5783 #2A78B5 #4897D4 #79B3E0
Accessibility & contrast
On white
4.72
#2A78B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#2A78B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A78B5
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A78B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A78B5 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7AB8
Deuteranopia (green-blind)
#486EB4
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2a78b5; /* rgb */ color: rgb(42, 120, 181); /* oklch */ color: oklch(55.5% 0.121 246.3);
Tailwind
colors: {
custom: {
50: '#789ecb',
500: '#2a78b5',
950: '#000000',
},
}SCSS
$custom: #2a78b5; $custom-light: #789ecb; $custom-dark: #000000;
JSON
{
"hex": "#2a78b5",
"rgb": {
"r": 42,
"g": 120,
"b": 181
},
"hsl": {
"h": 206.331,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.55491,
"c": 0.12078,
"h": 246.3
},
"luminance": 0.17261
}Semantic roles & 50–950 ramp
primary
#2A78B5
secondary
#C89873
accent
#8A42E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82