#2A79C9#2A79C9

#2A79C9 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.145 H 252.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A79C9
RGBrgb(42, 121, 201)
HSLhsl(210, 65%, 48%)
HSVhsv(210, 79%, 79%)
CMYKcmyk(79.1%, 39.8%, 0%, 21.2%)
CIE-LABlab(49.96, 4.59, -48.25)
CIE-LCHlch(49.96, 48.47, 275.43°)
OKLaboklab(56.92% -0.0442 -0.1379)
OKLCHoklch(56.92% 0.145 252.2)
XYZxyz(18.3309, 18.3818, 57.8289)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79C9 #C97A2A
analogous
#2AC8C9 #2A79C9 #2B2AC9
triadic
#2A79C9 #C92A79 #79C92A
tetradic
#2A79C9 #C92AC8 #C97A2A #2AC92B
square
#2A79C9 #C92AC8 #C97A2A #2AC92B
split-complementary
#2A79C9 #C92B2A #C8C92A
monochromatic
#153C64 #1F5B96 #2A79C9 #5598DB #87B6E6

Accessibility & contrast

On white

4.49
#2A79C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2A79C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A79C9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79C9#FFFFFF#000000##000000
##2A79C91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCC
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a79c9;
/* rgb */ color: rgb(42, 121, 201);
/* oklch */ color: oklch(56.9% 0.145 252.2);
Tailwind
colors: {
  custom: {
    50: '#7c9fda',
    500: '#2a79c9',
    950: '#000000',
  },
}
SCSS
$custom: #2a79c9;
$custom-light: #7c9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79c9",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 201
  },
  "hsl": {
    "h": 210.189,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.14479,
    "h": 252.2
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#2A79C9
secondary
#D0A87F
accent
#943FE8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A79C9

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

Preview Lab → · Contrast checker → · Palette generator →

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