#2A5774#2A5774

#2A5774 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.8% C 0.069 H 239.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2A5774
RGBrgb(42, 87, 116)
HSLhsl(204, 47%, 31%)
HSVhsv(204, 64%, 45%)
CMYKcmyk(63.8%, 25%, 0%, 54.5%)
CIE-LABlab(35.14, -5.84, -21.14)
CIE-LCHlch(35.14, 21.93, 254.56°)
OKLaboklab(43.82% -0.0352 -0.0593)
OKLCHoklch(43.82% 0.069 239.3)
XYZxyz(7.5142, 8.5689, 17.7776)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5774 #74472A
analogous
#2A746C #2A5774 #2A3274
triadic
#2A5774 #742A57 #57742A
tetradic
#2A5774 #6C2A74 #74472A #32742A
square
#2A5774 #6C2A74 #74472A #32742A
split-complementary
#2A5774 #742A32 #746C2A
monochromatic
#09141A #1A3547 #2A5774 #3A79A1 #5698C2

Accessibility & contrast

On white

7.74
#2A5774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5774
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5774#FFFFFF#000000##FFFFFF
##2A57741.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5775
Deuteranopia (green-blind)
#404F73
Tritanopia (blue-blind)
#005E61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5774;
/* rgb */ color: rgb(42, 87, 116);
/* oklch */ color: oklch(43.8% 0.069 239.3);
Tailwind
colors: {
  custom: {
    50: '#6b869c',
    500: '#2a5774',
    950: '#000000',
  },
}
SCSS
$custom: #2a5774;
$custom-light: #6b869c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5774",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 116
  },
  "hsl": {
    "h": 203.514,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.06897,
    "h": 239.3
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#2A5774
secondary
#A67454
accent
#8651D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5774

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

Preview Lab → · Contrast checker → · Palette generator →

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