#2A78A2#2A78A2

#2A78A2 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.099 H 236.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A78A2
RGBrgb(42, 120, 162)
HSLhsl(201, 59%, 40%)
HSVhsv(201, 74%, 64%)
CMYKcmyk(74.1%, 25.9%, 0%, 36.5%)
CIE-LABlab(47.67, -9.17, -29.32)
CIE-LCHlch(47.67, 30.72, 252.63°)
OKLaboklab(54.46% -0.0547 -0.0826)
OKLCHoklch(54.46% 0.099 236.5)
XYZxyz(14.1903, 16.5322, 36.6186)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A2 #A2542A
analogous
#2AA290 #2A78A2 #2A3CA2
triadic
#2A78A2 #A22A78 #78A22A
tetradic
#2A78A2 #902AA2 #A2542A #3CA22A
square
#2A78A2 #902AA2 #A2542A #3CA22A
split-complementary
#2A78A2 #A22A3C #A2902A
monochromatic
#113041 #1D5471 #2A78A2 #3D9ACD #6DB3D9

Accessibility & contrast

On white

4.88
#2A78A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2A78A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78A2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78A2#FFFFFF#000000##FFFFFF
##2A78A21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a78a2;
/* rgb */ color: rgb(42, 120, 162);
/* oklch */ color: oklch(54.5% 0.099 236.5);
Tailwind
colors: {
  custom: {
    50: '#749ebd',
    500: '#2a78a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a2;
$custom-light: #749ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a2",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 201,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.09908,
    "h": 236.5
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#2A78A2
secondary
#C08768
accent
#7C46E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A78A2

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

Preview Lab → · Contrast checker → · Palette generator →

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