#2A79A1#2A79A1

#2A79A1 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.097 H 234.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2A79A1
RGBrgb(42, 121, 161)
HSLhsl(200, 59%, 40%)
HSVhsv(200, 74%, 63%)
CMYKcmyk(73.9%, 24.8%, 0%, 36.9%)
CIE-LABlab(47.93, -10.10, -28.32)
CIE-LCHlch(47.93, 30.07, 250.36°)
OKLaboklab(54.66% -0.056 -0.0797)
OKLCHoklch(54.66% 0.097 234.9)
XYZxyz(14.2227, 16.7386, 36.1926)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A1 #A1522A
analogous
#2AA18E #2A79A1 #2A3EA1
triadic
#2A79A1 #A12A79 #79A12A
tetradic
#2A79A1 #8E2AA1 #A1522A #3EA12A
square
#2A79A1 #8E2AA1 #A1522A #3EA12A
split-complementary
#2A79A1 #A12A3E #A18E2A
monochromatic
#113040 #1D5570 #2A79A1 #3C9CCC #6DB4D9

Accessibility & contrast

On white

4.83
#2A79A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2A79A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79A1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79A1#FFFFFF#000000##FFFFFF
##2A79A11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A3
Deuteranopia (green-blind)
#556DA0
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a79a1;
/* rgb */ color: rgb(42, 121, 161);
/* oklch */ color: oklch(54.7% 0.097 234.9);
Tailwind
colors: {
  custom: {
    50: '#749fbd',
    500: '#2a79a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a1;
$custom-light: #749fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a1",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 161
  },
  "hsl": {
    "h": 200.168,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.09747,
    "h": 234.9
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A79A1

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

Preview Lab → · Contrast checker → · Palette generator →

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