#2A79A4#2A79A4

#2A79A4 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.101 H 236.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A79A4
RGBrgb(42, 121, 164)
HSLhsl(201, 59%, 40%)
HSVhsv(201, 74%, 64%)
CMYKcmyk(74.4%, 26.2%, 0%, 35.7%)
CIE-LABlab(48.06, -9.04, -29.86)
CIE-LCHlch(48.06, 31.20, 253.17°)
OKLaboklab(54.81% -0.055 -0.0842)
OKLCHoklch(54.81% 0.101 236.9)
XYZxyz(14.4904, 16.8456, 37.6026)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A4 #A4552A
analogous
#2AA492 #2A79A4 #2A3CA4
triadic
#2A79A4 #A42A79 #79A42A
tetradic
#2A79A4 #922AA4 #A4552A #3CA42A
square
#2A79A4 #922AA4 #A4552A #3CA42A
split-complementary
#2A79A4 #A42A3C #A4922A
monochromatic
#113143 #1E5573 #2A79A4 #3E9BCD #6EB4DA

Accessibility & contrast

On white

4.81
#2A79A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2A79A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79A4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79A4#FFFFFF#000000##FFFFFF
##2A79A41.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A6
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a79a4;
/* rgb */ color: rgb(42, 121, 164);
/* oklch */ color: oklch(54.8% 0.101 236.9);
Tailwind
colors: {
  custom: {
    50: '#759fbf',
    500: '#2a79a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a4;
$custom-light: #759fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a4",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 201.148,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.10057,
    "h": 236.9
  },
  "luminance": 0.16847
}

Semantic roles & 50–950 ramp

primary
#2A79A4
secondary
#C18869
accent
#7D45E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A79A4

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

Preview Lab → · Contrast checker → · Palette generator →

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