#2A5873#2A5873

#2A5873 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.067 H 236.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2A5873
RGBrgb(42, 88, 115)
HSLhsl(202, 46%, 31%)
HSVhsv(202, 63%, 45%)
CMYKcmyk(63.5%, 23.5%, 0%, 54.9%)
CIE-LABlab(35.42, -6.81, -20.09)
CIE-LCHlch(35.42, 21.21, 251.28°)
OKLaboklab(44.02% -0.0368 -0.0563)
OKLCHoklch(44.02% 0.067 236.8)
XYZxyz(7.5379, 8.7088, 17.5000)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5873 #73452A
analogous
#2A7369 #2A5873 #2A3373
triadic
#2A5873 #732A58 #58732A
tetradic
#2A5873 #692A73 #73452A #33732A
square
#2A5873 #692A73 #73452A #33732A
split-complementary
#2A5873 #732A33 #73692A
monochromatic
#091319 #1A3646 #2A5873 #3A7AA0 #569AC1

Accessibility & contrast

On white

7.66
#2A5873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5873
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5873#FFFFFF#000000##FFFFFF
##2A58731.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5774
Deuteranopia (green-blind)
#415073
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5873;
/* rgb */ color: rgb(42, 88, 115);
/* oklch */ color: oklch(44.0% 0.067 236.8);
Tailwind
colors: {
  custom: {
    50: '#6b879b',
    500: '#2a5873',
    950: '#000000',
  },
}
SCSS
$custom: #2a5873;
$custom-light: #6b879b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5873",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 115
  },
  "hsl": {
    "h": 202.192,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.06724,
    "h": 236.8
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#2A5873
secondary
#A57254
accent
#8352D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5873

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

Preview Lab → · Contrast checker → · Palette generator →

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