#2A79C8#2A79C8

#2A79C8 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.9% C 0.144 H 251.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2A79C8
RGBrgb(42, 121, 200)
HSLhsl(210, 65%, 47%)
HSVhsv(210, 79%, 78%)
CMYKcmyk(79%, 39.5%, 0%, 21.6%)
CIE-LABlab(49.90, 4.21, -47.77)
CIE-LCHlch(49.90, 47.95, 275.04°)
OKLaboklab(56.85% -0.0445 -0.1364)
OKLCHoklch(56.85% 0.144 251.9)
XYZxyz(18.2136, 18.3349, 57.2114)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79C8 #C8792A
analogous
#2AC8C8 #2A79C8 #2A2AC8
triadic
#2A79C8 #C82A79 #79C82A
tetradic
#2A79C8 #C82AC8 #C8792A #2AC82A
square
#2A79C8 #C82AC8 #C8792A #2AC82A
split-complementary
#2A79C8 #C82A2A #C8C82A
monochromatic
#153C63 #1F5A95 #2A79C8 #5498DB #87B6E6

Accessibility & contrast

On white

4.50
#2A79C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2A79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A79C8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79C8#FFFFFF#000000##000000
##2A79C81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECB
Deuteranopia (green-blind)
#3970C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a79c8;
/* rgb */ color: rgb(42, 121, 200);
/* oklch */ color: oklch(56.9% 0.144 251.9);
Tailwind
colors: {
  custom: {
    50: '#7b9fd9',
    500: '#2a79c8',
    950: '#000000',
  },
}
SCSS
$custom: #2a79c8;
$custom-light: #7b9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79c8",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 210,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.14351,
    "h": 251.9
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#2A79C8
secondary
#CFA77F
accent
#9440E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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