#2A78A1#2A78A1

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

Color values

HEX#2A78A1
RGBrgb(42, 120, 161)
HSLhsl(201, 59%, 40%)
HSVhsv(201, 74%, 63%)
CMYKcmyk(73.9%, 25.5%, 0%, 36.9%)
CIE-LABlab(47.62, -9.53, -28.80)
CIE-LCHlch(47.62, 30.34, 251.70°)
OKLaboklab(54.41% -0.055 -0.0811)
OKLCHoklch(54.41% 0.098 235.9)
XYZxyz(14.1018, 16.4968, 36.1523)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A1 #A1532A
analogous
#2AA18E #2A78A1 #2A3DA1
triadic
#2A78A1 #A12A78 #78A12A
tetradic
#2A78A1 #8E2AA1 #A1532A #3DA12A
square
#2A78A1 #8E2AA1 #A1532A #3DA12A
split-complementary
#2A78A1 #A12A3D #A18E2A
monochromatic
#113040 #1D5470 #2A78A1 #3C9BCC #6DB4D9

Accessibility & contrast

On white

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

On black

4.30
#2A78A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A78A1#FFFFFF#000000##FFFFFF
##2A78A11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A3
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a78a1;
/* rgb */ color: rgb(42, 120, 161);
/* oklch */ color: oklch(54.4% 0.098 235.9);
Tailwind
colors: {
  custom: {
    50: '#749ebd',
    500: '#2a78a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a1;
$custom-light: #749ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a1",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 161
  },
  "hsl": {
    "h": 200.672,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54409,
    "c": 0.09804,
    "h": 235.9
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A78A1

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

Preview Lab → · Contrast checker → · Palette generator →

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