#2A587E#2A587E

#2A587E is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.081 H 245.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2A587E
RGBrgb(42, 88, 126)
HSLhsl(207, 50%, 33%)
HSVhsv(207, 67%, 49%)
CMYKcmyk(66.7%, 30.2%, 0%, 50.6%)
CIE-LABlab(35.94, -2.87, -26.06)
CIE-LCHlch(35.94, 26.22, 263.73°)
OKLaboklab(44.61% -0.0329 -0.0735)
OKLCHoklch(44.61% 0.081 245.9)
XYZxyz(8.2091, 8.9772, 21.0348)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A587E #7E502A
analogous
#2A7E7A #2A587E #2A2E7E
triadic
#2A587E #7E2A58 #587E2A
tetradic
#2A587E #7A2A7E #7E502A #2E7E2A
square
#2A587E #7A2A7E #7E502A #2E7E2A
split-complementary
#2A587E #7E2A2E #7E7A2A
monochromatic
#0B1822 #1B3850 #2A587E #3978AC #5A96C8

Accessibility & contrast

On white

7.51
#2A587E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2A587E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A587E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A587E#FFFFFF#000000##FFFFFF
##2A587E1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#3C517D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a587e;
/* rgb */ color: rgb(42, 88, 126);
/* oklch */ color: oklch(44.6% 0.081 245.9);
Tailwind
colors: {
  custom: {
    50: '#6d87a3',
    500: '#2a587e',
    950: '#000000',
  },
}
SCSS
$custom: #2a587e;
$custom-light: #6d87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a587e",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 207.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.08053,
    "h": 245.9
  },
  "luminance": 0.08978
}

Semantic roles & 50–950 ramp

primary
#2A587E
secondary
#AE7E56
accent
#8D4EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #2A587E

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

Preview Lab → · Contrast checker → · Palette generator →

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