#2A79A0#2A79A0

#2A79A0 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.096 H 234.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A79A0
RGBrgb(42, 121, 160)
HSLhsl(200, 58%, 40%)
HSVhsv(200, 74%, 63%)
CMYKcmyk(73.8%, 24.4%, 0%, 37.3%)
CIE-LABlab(47.88, -10.46, -27.80)
CIE-LCHlch(47.88, 29.71, 249.39°)
OKLaboklab(54.61% -0.0564 -0.0782)
OKLCHoklch(54.61% 0.096 234.2)
XYZxyz(14.1349, 16.7034, 35.7300)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A0 #A0512A
analogous
#2AA08C #2A79A0 #2A3EA0
triadic
#2A79A0 #A02A79 #79A02A
tetradic
#2A79A0 #8C2AA0 #A0512A #3EA02A
square
#2A79A0 #8C2AA0 #A0512A #3EA02A
split-complementary
#2A79A0 #A02A3E #A08C2A
monochromatic
#11303F #1D5470 #2A79A0 #3C9CCC #6CB5D8

Accessibility & contrast

On white

4.84
#2A79A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2A79A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79A0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79A0#FFFFFF#000000##FFFFFF
##2A79A01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A2
Deuteranopia (green-blind)
#566D9F
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a79a0;
/* rgb */ color: rgb(42, 121, 160);
/* oklch */ color: oklch(54.6% 0.096 234.2);
Tailwind
colors: {
  custom: {
    50: '#749fbc',
    500: '#2a79a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a0;
$custom-light: #749fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a0",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 160
  },
  "hsl": {
    "h": 199.831,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.09646,
    "h": 234.2
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#2A79A0
secondary
#BF8467
accent
#7A46E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A79A0

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

Preview Lab → · Contrast checker → · Palette generator →

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