#2A78AB#2A78AB

#2A78AB is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.109 H 241.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2A78AB
RGBrgb(42, 120, 171)
HSLhsl(204, 61%, 42%)
HSVhsv(204, 75%, 67%)
CMYKcmyk(75.4%, 29.8%, 0%, 32.9%)
CIE-LABlab(48.09, -5.92, -33.91)
CIE-LCHlch(48.09, 34.42, 260.09°)
OKLaboklab(54.94% -0.0516 -0.0959)
OKLCHoklch(54.94% 0.109 241.7)
XYZxyz(15.0191, 16.8637, 40.9836)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78AB #AB5D2A
analogous
#2AAB9E #2A78AB #2A38AB
triadic
#2A78AB #AB2A78 #78AB2A
tetradic
#2A78AB #9E2AAB #AB5D2A #38AB2A
square
#2A78AB #9E2AAB #AB5D2A #38AB2A
split-complementary
#2A78AB #AB2A38 #AB9E2A
monochromatic
#123349 #1E567A #2A78AB #4298D1 #73B3DD

Accessibility & contrast

On white

4.80
#2A78AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2A78AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78AB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78AB#FFFFFF#000000##FFFFFF
##2A78AB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AD
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a78ab;
/* rgb */ color: rgb(42, 120, 171);
/* oklch */ color: oklch(54.9% 0.109 241.7);
Tailwind
colors: {
  custom: {
    50: '#769ec4',
    500: '#2a78ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a78ab;
$custom-light: #769ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78ab",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 203.721,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.10897,
    "h": 241.7
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#2A78AB
secondary
#C48F6D
accent
#8344E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A78AB

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

Preview Lab → · Contrast checker → · Palette generator →

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