#2A79AA#2A79AA

#2A79AA is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.107 H 240.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A79AA
RGBrgb(42, 121, 170)
HSLhsl(203, 60%, 42%)
HSVhsv(203, 75%, 67%)
CMYKcmyk(75.3%, 28.8%, 0%, 33.3%)
CIE-LABlab(48.34, -6.88, -32.92)
CIE-LCHlch(48.34, 33.63, 258.20°)
OKLaboklab(55.12% -0.053 -0.0931)
OKLCHoklch(55.12% 0.107 240.4)
XYZxyz(15.0451, 17.0675, 40.5238)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79AA #AA5B2A
analogous
#2AAA9B #2A79AA #2A39AA
triadic
#2A79AA #AA2A79 #79AA2A
tetradic
#2A79AA #9B2AAA #AA5B2A #39AA2A
square
#2A79AA #9B2AAA #AA5B2A #39AA2A
split-complementary
#2A79AA #AA2A39 #AA9B2A
monochromatic
#123348 #1E5679 #2A79AA #4199D0 #72B4DC

Accessibility & contrast

On white

4.76
#2A79AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2A79AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79AA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79AA#FFFFFF#000000##FFFFFF
##2A79AA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6279AC
Deuteranopia (green-blind)
#516DA9
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a79aa;
/* rgb */ color: rgb(42, 121, 170);
/* oklch */ color: oklch(55.1% 0.107 240.4);
Tailwind
colors: {
  custom: {
    50: '#769fc3',
    500: '#2a79aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a79aa;
$custom-light: #769fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79aa",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 202.969,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55123,
    "c": 0.10708,
    "h": 240.4
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#2A79AA
secondary
#C38E6C
accent
#8144E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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