#2A78A7#2A78A7

#2A78A7 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.104 H 239.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A78A7
RGBrgb(42, 120, 167)
HSLhsl(203, 60%, 41%)
HSVhsv(203, 75%, 65%)
CMYKcmyk(74.9%, 28.1%, 0%, 34.5%)
CIE-LABlab(47.90, -7.37, -31.88)
CIE-LCHlch(47.90, 32.72, 256.97°)
OKLaboklab(54.72% -0.053 -0.09)
OKLCHoklch(54.72% 0.104 239.5)
XYZxyz(14.6436, 16.7135, 39.0060)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A7 #A7592A
analogous
#2AA797 #2A78A7 #2A39A7
triadic
#2A78A7 #A72A78 #78A72A
tetradic
#2A78A7 #972AA7 #A7592A #39A72A
square
#2A78A7 #972AA7 #A7592A #39A72A
split-complementary
#2A78A7 #A72A39 #A7972A
monochromatic
#113245 #1E5576 #2A78A7 #3F99CF #70B3DB

Accessibility & contrast

On white

4.84
#2A78A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2A78A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78A7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78A7#FFFFFF#000000##FFFFFF
##2A78A71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6278A9
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a78a7;
/* rgb */ color: rgb(42, 120, 167);
/* oklch */ color: oklch(54.7% 0.104 239.5);
Tailwind
colors: {
  custom: {
    50: '#759ec1',
    500: '#2a78a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a7;
$custom-light: #759ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a7",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 167
  },
  "hsl": {
    "h": 202.56,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.10447,
    "h": 239.5
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#2A78A7
secondary
#C28C6B
accent
#8045E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A78A7

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

Preview Lab → · Contrast checker → · Palette generator →

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