#2A79A3#2A79A3

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

Color values

HEX#2A79A3
RGBrgb(42, 121, 163)
HSLhsl(201, 59%, 40%)
HSVhsv(201, 74%, 64%)
CMYKcmyk(74.2%, 25.8%, 0%, 36.1%)
CIE-LABlab(48.02, -9.39, -29.35)
CIE-LCHlch(48.02, 30.82, 252.25°)
OKLaboklab(54.76% -0.0553 -0.0827)
OKLCHoklch(54.76% 0.1 236.2)
XYZxyz(14.4005, 16.8097, 37.1289)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A3 #A3542A
analogous
#2AA390 #2A79A3 #2A3DA3
triadic
#2A79A3 #A32A79 #79A32A
tetradic
#2A79A3 #902AA3 #A3542A #3DA32A
square
#2A79A3 #902AA3 #A3542A #3DA32A
split-complementary
#2A79A3 #A32A3D #A3902A
monochromatic
#113142 #1D5572 #2A79A3 #3D9BCD #6EB4DA

Accessibility & contrast

On white

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

On black

4.36
#2A79A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A79A3#FFFFFF#000000##FFFFFF
##2A79A31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A5
Deuteranopia (green-blind)
#546DA2
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a79a3;
/* rgb */ color: rgb(42, 121, 163);
/* oklch */ color: oklch(54.8% 0.100 236.2);
Tailwind
colors: {
  custom: {
    50: '#749fbe',
    500: '#2a79a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a3;
$custom-light: #749fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a3",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 163
  },
  "hsl": {
    "h": 200.826,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.09952,
    "h": 236.2
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#2A79A3
secondary
#C08768
accent
#7C46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A79A3

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

Preview Lab → · Contrast checker → · Palette generator →

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