#2A5D79#2A5D79

#2A5D79 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 45.6% C 0.071 H 235.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2A5D79
RGBrgb(42, 93, 121)
HSLhsl(201, 48%, 32%)
HSVhsv(201, 65%, 47%)
CMYKcmyk(65.3%, 23.1%, 0%, 52.5%)
CIE-LABlab(37.30, -7.74, -20.88)
CIE-LCHlch(37.30, 22.26, 249.65°)
OKLaboklab(45.61% -0.0404 -0.0585)
OKLCHoklch(45.61% 0.071 235.3)
XYZxyz(8.3191, 9.7006, 19.5194)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D79 #79462A
analogous
#2A796E #2A5D79 #2A3679
triadic
#2A5D79 #792A5D #5D792A
tetradic
#2A5D79 #6E2A79 #79462A #36792A
square
#2A5D79 #6E2A79 #79462A #36792A
split-complementary
#2A5D79 #792A36 #796E2A
monochromatic
#0A171E #1A3A4C #2A5D79 #3A80A6 #589FC5

Accessibility & contrast

On white

7.14
#2A5D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A5D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D79
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D79#FFFFFF#000000##FFFFFF
##2A5D791.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C7A
Deuteranopia (green-blind)
#455479
Tritanopia (blue-blind)
#006466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a5d79;
/* rgb */ color: rgb(42, 93, 121);
/* oklch */ color: oklch(45.6% 0.071 235.3);
Tailwind
colors: {
  custom: {
    50: '#6c8a9f',
    500: '#2a5d79',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d79;
$custom-light: #6c8a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d79",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 121
  },
  "hsl": {
    "h": 201.266,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.07111,
    "h": 235.3
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#2A5D79
secondary
#AB7354
accent
#8050D8
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5D79

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

Preview Lab → · Contrast checker → · Palette generator →

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