#2A5F79#2A5F79

#2A5F79 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.1% C 0.070 H 232.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2A5F79
RGBrgb(42, 95, 121)
HSLhsl(200, 48%, 32%)
HSVhsv(200, 65%, 47%)
CMYKcmyk(65.3%, 21.5%, 0%, 52.5%)
CIE-LABlab(37.94, -8.95, -19.88)
CIE-LCHlch(37.94, 21.80, 245.77°)
OKLaboklab(46.12% -0.0428 -0.0556)
OKLCHoklch(46.12% 0.07 232.4)
XYZxyz(8.4969, 10.0563, 19.5787)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F79 #79442A
analogous
#2A796C #2A5F79 #2A3879
triadic
#2A5F79 #792A5F #5F792A
tetradic
#2A5F79 #6C2A79 #79442A #38792A
square
#2A5F79 #6C2A79 #79442A #38792A
split-complementary
#2A5F79 #792A38 #796C2A
monochromatic
#0A181E #1A3B4C #2A5F79 #3A83A6 #58A1C5

Accessibility & contrast

On white

6.97
#2A5F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2A5F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5F79
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F79#FFFFFF#000000##FFFFFF
##2A5F791.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7A
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#006668
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2a5f79;
/* rgb */ color: rgb(42, 95, 121);
/* oklch */ color: oklch(46.1% 0.070 232.4);
Tailwind
colors: {
  custom: {
    50: '#6c8c9f',
    500: '#2a5f79',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f79;
$custom-light: #6c8c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f79",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 121
  },
  "hsl": {
    "h": 199.747,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.07017,
    "h": 232.4
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#2A5F79
secondary
#AB7154
accent
#7D50D8
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A5F79

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

Preview Lab → · Contrast checker → · Palette generator →

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