#2A79B3#2A79B3

#2A79B3 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.6% C 0.117 H 244.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A79B3
RGBrgb(42, 121, 179)
HSLhsl(205, 62%, 43%)
HSVhsv(205, 77%, 70%)
CMYKcmyk(76.5%, 32.4%, 0%, 29.8%)
CIE-LABlab(48.78, -3.59, -37.46)
CIE-LCHlch(48.78, 37.63, 264.52°)
OKLaboklab(55.62% -0.0501 -0.1063)
OKLCHoklch(55.62% 0.118 244.8)
XYZxyz(15.9258, 17.4198, 45.1621)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79B3 #B3642A
analogous
#2AB3A8 #2A79B3 #2A35B3
triadic
#2A79B3 #B32A79 #79B32A
tetradic
#2A79B3 #A82AB3 #B3642A #35B32A
square
#2A79B3 #A82AB3 #B3642A #35B32A
split-complementary
#2A79B3 #B32A35 #B3A82A
monochromatic
#133650 #1E5781 #2A79B3 #4698D4 #78B4DF

Accessibility & contrast

On white

4.68
#2A79B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A79B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79B3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79B3#FFFFFF#000000##FFFFFF
##2A79B31.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB6
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a79b3;
/* rgb */ color: rgb(42, 121, 179);
/* oklch */ color: oklch(55.6% 0.117 244.8);
Tailwind
colors: {
  custom: {
    50: '#779fca',
    500: '#2a79b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a79b3;
$custom-light: #779fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79b3",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 205.401,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.1175,
    "h": 244.8
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#2A79B3
secondary
#C79672
accent
#8743E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A79B3

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

Preview Lab → · Contrast checker → · Palette generator →

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