#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
RGBrgb(42, 120, 180)
HSLhsl(206, 62%, 44%)
HSVhsv(206, 77%, 71%)
CMYKcmyk(76.7%, 33.3%, 0%, 29.4%)
CIE-LABlab(48.53, -2.63, -38.43)
CIE-LCHlch(48.53, 38.52, 266.09°)
OKLaboklab(55.43% -0.0489 -0.1091)
OKLCHoklch(55.43% 0.12 245.9)
XYZxyz(15.9064, 17.2186, 45.6564)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##2A78B41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.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

Preview Lab

Preview with #2A78B4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A78B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva