#2A5779#2A5779

#2A5779 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.075 H 243.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2A5779
RGBrgb(42, 87, 121)
HSLhsl(206, 48%, 32%)
HSVhsv(206, 65%, 47%)
CMYKcmyk(65.3%, 28.1%, 0%, 52.5%)
CIE-LABlab(35.38, -4.05, -23.86)
CIE-LCHlch(35.38, 24.21, 260.36°)
OKLaboklab(44.09% -0.0334 -0.0671)
OKLCHoklch(44.09% 0.075 243.5)
XYZxyz(7.8129, 8.6883, 19.3507)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5779 #794C2A
analogous
#2A7974 #2A5779 #2A3079
triadic
#2A5779 #792A57 #57792A
tetradic
#2A5779 #742A79 #794C2A #30792A
square
#2A5779 #742A79 #794C2A #30792A
split-complementary
#2A5779 #792A30 #79742A
monochromatic
#0A161E #1A364C #2A5779 #3A78A6 #5896C5

Accessibility & contrast

On white

7.67
#2A5779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2A5779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5779
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5779#FFFFFF#000000##FFFFFF
##2A57791.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#3D5078
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5779;
/* rgb */ color: rgb(42, 87, 121);
/* oklch */ color: oklch(44.1% 0.075 243.5);
Tailwind
colors: {
  custom: {
    50: '#6c86a0',
    500: '#2a5779',
    950: '#000000',
  },
}
SCSS
$custom: #2a5779;
$custom-light: #6c86a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5779",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 205.823,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.07502,
    "h": 243.5
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#2A5779
secondary
#AB7954
accent
#8A50D8
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5779

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

Preview Lab → · Contrast checker → · Palette generator →

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