#2A78A0#2A78A0

#2A78A0 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.097 H 235.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A78A0
RGBrgb(42, 120, 160)
HSLhsl(200, 58%, 40%)
HSVhsv(200, 74%, 63%)
CMYKcmyk(73.8%, 25%, 0%, 37.3%)
CIE-LABlab(47.57, -9.88, -28.29)
CIE-LCHlch(47.57, 29.96, 250.74°)
OKLaboklab(54.36% -0.0554 -0.0796)
OKLCHoklch(54.36% 0.097 235.2)
XYZxyz(14.0140, 16.4616, 35.6897)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A0 #A0522A
analogous
#2AA08D #2A78A0 #2A3DA0
triadic
#2A78A0 #A02A78 #78A02A
tetradic
#2A78A0 #8D2AA0 #A0522A #3DA02A
square
#2A78A0 #8D2AA0 #A0522A #3DA02A
split-complementary
#2A78A0 #A02A3D #A08D2A
monochromatic
#112F3F #1D5470 #2A78A0 #3C9BCC #6CB4D8

Accessibility & contrast

On white

4.89
#2A78A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2A78A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78A0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78A0#FFFFFF#000000##FFFFFF
##2A78A01.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A2
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a78a0;
/* rgb */ color: rgb(42, 120, 160);
/* oklch */ color: oklch(54.4% 0.097 235.2);
Tailwind
colors: {
  custom: {
    50: '#749ebc',
    500: '#2a78a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a0;
$custom-light: #749ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a0",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 160
  },
  "hsl": {
    "h": 200.339,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.09702,
    "h": 235.2
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#2A78A0
secondary
#BF8567
accent
#7B46E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A78A0

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

Preview Lab → · Contrast checker → · Palette generator →

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