#2A79A8#2A79A8

#2A79A8 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.105 H 239.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A79A8
RGBrgb(42, 121, 168)
HSLhsl(202, 60%, 41%)
HSVhsv(202, 75%, 66%)
CMYKcmyk(75%, 28%, 0%, 34.1%)
CIE-LABlab(48.25, -7.60, -31.91)
CIE-LCHlch(48.25, 32.80, 256.60°)
OKLaboklab(55.02% -0.0536 -0.0901)
OKLCHoklch(55.02% 0.105 239.2)
XYZxyz(14.8573, 16.9924, 39.5350)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A8 #A8592A
analogous
#2AA898 #2A79A8 #2A3AA8
triadic
#2A79A8 #A82A79 #79A82A
tetradic
#2A79A8 #982AA8 #A8592A #3AA82A
square
#2A79A8 #982AA8 #A8592A #3AA82A
split-complementary
#2A79A8 #A82A3A #A8982A
monochromatic
#123246 #1E5677 #2A79A8 #409ACF #71B4DB

Accessibility & contrast

On white

4.77
#2A79A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A79A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79A8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79A8#FFFFFF#000000##FFFFFF
##2A79A81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6379AA
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a79a8;
/* rgb */ color: rgb(42, 121, 168);
/* oklch */ color: oklch(55.0% 0.105 239.2);
Tailwind
colors: {
  custom: {
    50: '#759fc2',
    500: '#2a79a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a8;
$custom-light: #759fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a8",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 168
  },
  "hsl": {
    "h": 202.381,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.10487,
    "h": 239.2
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A79A8

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

Preview Lab → · Contrast checker → · Palette generator →

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