#2A78A4#2A78A4

#2A78A4 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.6% C 0.101 H 237.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2A78A4
RGBrgb(42, 120, 164)
HSLhsl(202, 59%, 40%)
HSVhsv(202, 74%, 64%)
CMYKcmyk(74.4%, 26.8%, 0%, 35.7%)
CIE-LABlab(47.76, -8.45, -30.34)
CIE-LCHlch(47.76, 31.50, 254.43°)
OKLaboklab(54.56% -0.054 -0.0856)
OKLCHoklch(54.56% 0.101 237.8)
XYZxyz(14.3695, 16.6039, 37.5623)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A4 #A4562A
analogous
#2AA493 #2A78A4 #2A3BA4
triadic
#2A78A4 #A42A78 #78A42A
tetradic
#2A78A4 #932AA4 #A4562A #3BA42A
square
#2A78A4 #932AA4 #A4562A #3BA42A
split-complementary
#2A78A4 #A42A3B #A4932A
monochromatic
#113143 #1E5473 #2A78A4 #3E9ACD #6EB3DA

Accessibility & contrast

On white

4.86
#2A78A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2A78A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78A4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78A4#FFFFFF#000000##FFFFFF
##2A78A41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6378A6
Deuteranopia (green-blind)
#536CA3
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a78a4;
/* rgb */ color: rgb(42, 120, 164);
/* oklch */ color: oklch(54.6% 0.101 237.8);
Tailwind
colors: {
  custom: {
    50: '#759ebf',
    500: '#2a78a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a4;
$custom-light: #759ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a4",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 164
  },
  "hsl": {
    "h": 201.639,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54564,
    "c": 0.1012,
    "h": 237.8
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#2A78A4
secondary
#C18969
accent
#7E45E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A78A4

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

Preview Lab → · Contrast checker → · Palette generator →

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