#2A78AA#2A78AA

#2A78AA is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.108 H 241.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A78AA
RGBrgb(42, 120, 170)
HSLhsl(203, 60%, 42%)
HSVhsv(203, 75%, 67%)
CMYKcmyk(75.3%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.04, -6.29, -33.40)
CIE-LCHlch(48.04, 33.99, 259.34°)
OKLaboklab(54.88% -0.052 -0.0945)
OKLCHoklch(54.88% 0.108 241.2)
XYZxyz(14.9242, 16.8257, 40.4836)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78AA #AA5C2A
analogous
#2AAA9C #2A78AA #2A38AA
triadic
#2A78AA #AA2A78 #78AA2A
tetradic
#2A78AA #9C2AAA #AA5C2A #38AA2A
square
#2A78AA #9C2AAA #AA5C2A #38AA2A
split-complementary
#2A78AA #AA2A38 #AA9C2A
monochromatic
#123348 #1E5579 #2A78AA #4198D0 #72B3DC

Accessibility & contrast

On white

4.81
#2A78AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A78AA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78AA#FFFFFF#000000##FFFFFF
##2A78AA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#4F6DA9
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a78aa;
/* rgb */ color: rgb(42, 120, 170);
/* oklch */ color: oklch(54.9% 0.108 241.2);
Tailwind
colors: {
  custom: {
    50: '#769ec3',
    500: '#2a78aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a78aa;
$custom-light: #769ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78aa",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 203.438,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.10783,
    "h": 241.2
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

primary
#2A78AA
secondary
#C38E6C
accent
#8244E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A78AA

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

Preview Lab → · Contrast checker → · Palette generator →

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