#2A78A3#2A78A3

#2A78A3 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.100 H 237.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A78A3
RGBrgb(42, 120, 163)
HSLhsl(201, 59%, 40%)
HSVhsv(201, 74%, 64%)
CMYKcmyk(74.2%, 26.4%, 0%, 36.1%)
CIE-LABlab(47.71, -8.81, -29.83)
CIE-LCHlch(47.71, 31.10, 253.54°)
OKLaboklab(54.51% -0.0543 -0.0841)
OKLCHoklch(54.51% 0.1 237.1)
XYZxyz(14.2796, 16.5679, 37.0886)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A3 #A3552A
analogous
#2AA391 #2A78A3 #2A3CA3
triadic
#2A78A3 #A32A78 #78A32A
tetradic
#2A78A3 #912AA3 #A3552A #3CA32A
square
#2A78A3 #912AA3 #A3552A #3CA32A
split-complementary
#2A78A3 #A32A3C #A3912A
monochromatic
#113042 #1D5472 #2A78A3 #3D9ACD #6EB3DA

Accessibility & contrast

On white

4.87
#2A78A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A78A3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78A3#FFFFFF#000000##FFFFFF
##2A78A31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A5
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a78a3;
/* rgb */ color: rgb(42, 120, 163);
/* oklch */ color: oklch(54.5% 0.100 237.1);
Tailwind
colors: {
  custom: {
    50: '#749ebe',
    500: '#2a78a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a3;
$custom-light: #749ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a3",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 201.322,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.10013,
    "h": 237.1
  },
  "luminance": 0.1657
}

Semantic roles & 50–950 ramp

primary
#2A78A3
secondary
#C08868
accent
#7D46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A78A3

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

Preview Lab → · Contrast checker → · Palette generator →

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