#2A587B#2A587B

#2A587B is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.077 H 243.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2A587B
RGBrgb(42, 88, 123)
HSLhsl(206, 49%, 32%)
HSVhsv(206, 66%, 48%)
CMYKcmyk(65.9%, 28.5%, 0%, 51.8%)
CIE-LABlab(35.79, -3.96, -24.45)
CIE-LCHlch(35.79, 24.77, 260.81°)
OKLaboklab(44.45% -0.0339 -0.0688)
OKLCHoklch(44.45% 0.077 243.8)
XYZxyz(8.0184, 8.9010, 20.0305)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A587B #7B4D2A
analogous
#2A7B76 #2A587B #2A2F7B
triadic
#2A587B #7B2A58 #587B2A
tetradic
#2A587B #762A7B #7B4D2A #2F7B2A
square
#2A587B #762A7B #7B4D2A #2F7B2A
split-complementary
#2A587B #7B2A2F #7B762A
monochromatic
#0B1720 #1A374D #2A587B #3A79A9 #5997C6

Accessibility & contrast

On white

7.55
#2A587B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A587B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A587B
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A587B#FFFFFF#000000##FFFFFF
##2A587B1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597D
Deuteranopia (green-blind)
#3D517A
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a587b;
/* rgb */ color: rgb(42, 88, 123);
/* oklch */ color: oklch(44.4% 0.077 243.8);
Tailwind
colors: {
  custom: {
    50: '#6c87a1',
    500: '#2a587b',
    950: '#000000',
  },
}
SCSS
$custom: #2a587b;
$custom-light: #6c87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a587b",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 205.926,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44445,
    "c": 0.07673,
    "h": 243.8
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#2A587B
secondary
#AC7A55
accent
#8B4FD9
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #2A587B

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

Preview Lab → · Contrast checker → · Palette generator →

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