#2A79B8#2A79B8

#2A79B8 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.124 H 246.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A79B8
RGBrgb(42, 121, 184)
HSLhsl(207, 63%, 44%)
HSVhsv(207, 77%, 72%)
CMYKcmyk(77.2%, 34.2%, 0%, 27.8%)
CIE-LABlab(49.04, -1.75, -39.95)
CIE-LCHlch(49.04, 39.98, 267.49°)
OKLaboklab(55.9% -0.0487 -0.1135)
OKLCHoklch(55.9% 0.124 246.8)
XYZxyz(16.4406, 17.6257, 47.8737)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79B8 #B8692A
analogous
#2AB8B0 #2A79B8 #2A32B8
triadic
#2A79B8 #B82A79 #79B82A
tetradic
#2A79B8 #B02AB8 #B8692A #32B82A
square
#2A79B8 #B02AB8 #B8692A #32B82A
split-complementary
#2A79B8 #B82A32 #B8B02A
monochromatic
#133754 #1F5886 #2A79B8 #4A97D6 #7BB4E1

Accessibility & contrast

On white

4.64
#2A79B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2A79B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79B8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79B8#FFFFFF#000000##FFFFFF
##2A79B81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#476FB7
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a79b8;
/* rgb */ color: rgb(42, 121, 184);
/* oklch */ color: oklch(55.9% 0.124 246.8);
Tailwind
colors: {
  custom: {
    50: '#789fcd',
    500: '#2a79b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a79b8;
$custom-light: #789fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79b8",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 206.62,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.12353,
    "h": 246.8
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#2A79B8
secondary
#C99A75
accent
#8B42E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A79B8

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

Preview Lab → · Contrast checker → · Palette generator →

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