#2A78A5#2A78A5

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

Color values

HEX#2A78A5
RGBrgb(42, 120, 165)
HSLhsl(202, 59%, 41%)
HSVhsv(202, 75%, 65%)
CMYKcmyk(74.5%, 27.3%, 0%, 35.3%)
CIE-LABlab(47.80, -8.09, -30.85)
CIE-LCHlch(47.80, 31.90, 255.30°)
OKLaboklab(54.62% -0.0536 -0.0871)
OKLCHoklch(54.62% 0.102 238.4)
XYZxyz(14.4602, 16.6401, 38.0398)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A5 #A5572A
analogous
#2AA594 #2A78A5 #2A3BA5
triadic
#2A78A5 #A52A78 #78A52A
tetradic
#2A78A5 #942AA5 #A5572A #3BA52A
square
#2A78A5 #942AA5 #A5572A #3BA52A
split-complementary
#2A78A5 #A52A3B #A5942A
monochromatic
#113143 #1E5574 #2A78A5 #3E99CE #6FB3DA

Accessibility & contrast

On white

4.85
#2A78A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2A78A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78A5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78A5#FFFFFF#000000##FFFFFF
##2A78A51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6378A7
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a78a5;
/* rgb */ color: rgb(42, 120, 165);
/* oklch */ color: oklch(54.6% 0.102 238.4);
Tailwind
colors: {
  custom: {
    50: '#759ec0',
    500: '#2a78a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a5;
$custom-light: #759ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a5",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 165
  },
  "hsl": {
    "h": 201.951,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.10228,
    "h": 238.4
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#2A78A5
secondary
#C18A69
accent
#7F45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A78A5

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

Preview Lab → · Contrast checker → · Palette generator →

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