#2A79B4#2A79B4

#2A79B4 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.119 H 245.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2A79B4
RGBrgb(42, 121, 180)
HSLhsl(206, 62%, 44%)
HSVhsv(206, 77%, 71%)
CMYKcmyk(76.7%, 32.8%, 0%, 29.4%)
CIE-LABlab(48.84, -3.23, -37.96)
CIE-LCHlch(48.84, 38.09, 265.14°)
OKLaboklab(55.67% -0.0498 -0.1077)
OKLCHoklch(55.67% 0.119 245.2)
XYZxyz(16.0273, 17.4604, 45.6967)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79B4 #B4652A
analogous
#2AB4AA #2A79B4 #2A34B4
triadic
#2A79B4 #B42A79 #79B42A
tetradic
#2A79B4 #AA2AB4 #B4652A #34B42A
square
#2A79B4 #AA2AB4 #B4652A #34B42A
split-complementary
#2A79B4 #B42A34 #B4AA2A
monochromatic
#133651 #1E5882 #2A79B4 #4798D4 #79B4E0

Accessibility & contrast

On white

4.67
#2A79B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2A79B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79B4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79B4#FFFFFF#000000##FFFFFF
##2A79B41.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a79b4;
/* rgb */ color: rgb(42, 121, 180);
/* oklch */ color: oklch(55.7% 0.119 245.2);
Tailwind
colors: {
  custom: {
    50: '#779fcb',
    500: '#2a79b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a79b4;
$custom-light: #779fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79b4",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 180
  },
  "hsl": {
    "h": 205.652,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55671,
    "c": 0.11869,
    "h": 245.2
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#2A79B4
secondary
#C89772
accent
#8843E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A79B4

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

Preview Lab → · Contrast checker → · Palette generator →

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