#2A79CA#2A79CA

#2A79CA is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.146 H 252.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A79CA
RGBrgb(42, 121, 202)
HSLhsl(210, 66%, 48%)
HSVhsv(210, 79%, 79%)
CMYKcmyk(79.2%, 40.1%, 0%, 20.8%)
CIE-LABlab(50.01, 4.96, -48.73)
CIE-LCHlch(50.01, 48.98, 275.82°)
OKLaboklab(56.98% -0.044 -0.1393)
OKLCHoklch(56.98% 0.146 252.5)
XYZxyz(18.4489, 18.4290, 58.4505)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79CA #CA7B2A
analogous
#2AC9CA #2A79CA #2B2ACA
triadic
#2A79CA #CA2A79 #79CA2A
tetradic
#2A79CA #CA2AC9 #CA7B2A #2ACA2B
square
#2A79CA #CA2AC9 #CA7B2A #2ACA2B
split-complementary
#2A79CA #CA2B2A #C9CA2A
monochromatic
#153C65 #1F5B97 #2A79CA #5598DC #88B7E6

Accessibility & contrast

On white

4.48
#2A79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2A79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A79CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79CA#FFFFFF#000000##000000
##2A79CA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a79ca;
/* rgb */ color: rgb(42, 121, 202);
/* oklch */ color: oklch(57.0% 0.146 252.5);
Tailwind
colors: {
  custom: {
    50: '#7c9fda',
    500: '#2a79ca',
    950: '#000000',
  },
}
SCSS
$custom: #2a79ca;
$custom-light: #7c9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79ca",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 210.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56979,
    "c": 0.14606,
    "h": 252.5
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#2A79CA
secondary
#D0A880
accent
#953FE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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