#2A78A9#2A78A9

#2A78A9 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.107 H 240.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2A78A9
RGBrgb(42, 120, 169)
HSLhsl(203, 60%, 41%)
HSVhsv(203, 75%, 66%)
CMYKcmyk(75.1%, 29%, 0%, 33.7%)
CIE-LABlab(47.99, -6.65, -32.89)
CIE-LCHlch(47.99, 33.56, 258.57°)
OKLaboklab(54.83% -0.0523 -0.093)
OKLCHoklch(54.83% 0.107 240.6)
XYZxyz(14.8299, 16.7880, 39.9873)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78A9 #A95B2A
analogous
#2AA99B #2A78A9 #2A38A9
triadic
#2A78A9 #A92A78 #78A92A
tetradic
#2A78A9 #9B2AA9 #A95B2A #38A92A
square
#2A78A9 #9B2AA9 #A95B2A #38A92A
split-complementary
#2A78A9 #A92A38 #A99B2A
monochromatic
#123247 #1E5578 #2A78A9 #4198D0 #72B3DC

Accessibility & contrast

On white

4.82
#2A78A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2A78A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78A9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78A9#FFFFFF#000000##FFFFFF
##2A78A91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AB
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a78a9;
/* rgb */ color: rgb(42, 120, 169);
/* oklch */ color: oklch(54.8% 0.107 240.6);
Tailwind
colors: {
  custom: {
    50: '#759ec3',
    500: '#2a78a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a78a9;
$custom-light: #759ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78a9",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 169
  },
  "hsl": {
    "h": 203.15,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.1067,
    "h": 240.6
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#2A78A9
secondary
#C38D6C
accent
#8244E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A78A9

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

Preview Lab → · Contrast checker → · Palette generator →

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