#2A78B3#2A78B3
#2A78B3 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.118 H 245.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A78B3 |
|---|---|
| RGB | rgb(42, 120, 179) |
| HSL | hsl(206, 62%, 43%) |
| HSV | hsv(206, 77%, 70%) |
| CMYK | cmyk(76.5%, 33%, 0%, 29.8%) |
| CIE-LAB | lab(48.48, -3.00, -37.93) |
| CIE-LCH | lch(48.48, 38.05, 265.48°) |
| OKLab | oklab(55.38% -0.0492 -0.1077) |
| OKLCH | oklch(55.38% 0.118 245.5) |
| XYZ | xyz(15.8049, 17.1780, 45.1218) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.79
Nice Blue
#107AB0
ΔE00 2.88
Flat Blue
#3C73A8
ΔE00 2.97
Windows Blue
#3778BF
ΔE00 3.11
Muted Blue
#3B719F
ΔE00 3.57
Dull Blue
#49759C
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A78B3 #B3652A
analogous
#2AB3A9 #2A78B3 #2A34B3
triadic
#2A78B3 #B32A78 #78B32A
tetradic
#2A78B3 #A92AB3 #B3652A #34B32A
square
#2A78B3 #A92AB3 #B3652A #34B32A
split-complementary
#2A78B3 #B32A34 #B3A92A
monochromatic
#133650 #1E5781 #2A78B3 #4697D4 #78B3DF
Accessibility & contrast
On white
4.73
#2A78B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#2A78B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A78B3
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A78B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A78B3 | 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)
#5D7AB6
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2a78b3; /* rgb */ color: rgb(42, 120, 179); /* oklch */ color: oklch(55.4% 0.118 245.5);
Tailwind
colors: {
custom: {
50: '#779eca',
500: '#2a78b3',
950: '#000000',
},
}SCSS
$custom: #2a78b3; $custom-light: #779eca; $custom-dark: #000000;
JSON
{
"hex": "#2a78b3",
"rgb": {
"r": 42,
"g": 120,
"b": 179
},
"hsl": {
"h": 205.839,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.55377,
"c": 0.11837,
"h": 245.5
},
"luminance": 0.1718
}Semantic roles & 50–950 ramp
primary
#2A78B3
secondary
#C79672
accent
#8943E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82