#2A587F#2A587F

#2A587F is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.082 H 246.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2A587F
RGBrgb(42, 88, 127)
HSLhsl(208, 50%, 33%)
HSVhsv(208, 67%, 50%)
CMYKcmyk(66.9%, 30.7%, 0%, 50.2%)
CIE-LABlab(35.99, -2.50, -26.60)
CIE-LCHlch(35.99, 26.72, 264.63°)
OKLaboklab(44.67% -0.0325 -0.0751)
OKLCHoklch(44.67% 0.082 246.6)
XYZxyz(8.2739, 9.0032, 21.3763)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A587F #7F512A
analogous
#2A7F7B #2A587F #2A2E7F
triadic
#2A587F #7F2A58 #587F2A
tetradic
#2A587F #7B2A7F #7F512A #2E7F2A
square
#2A587F #7B2A7F #7F512A #2E7F2A
split-complementary
#2A587F #7F2A2E #7F7B2A
monochromatic
#0C1823 #1B3851 #2A587F #3978AD #5B96C9

Accessibility & contrast

On white

7.50
#2A587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A587F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A587F#FFFFFF#000000##FFFFFF
##2A587F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#3B517E
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a587f;
/* rgb */ color: rgb(42, 88, 127);
/* oklch */ color: oklch(44.7% 0.082 246.6);
Tailwind
colors: {
  custom: {
    50: '#6d86a4',
    500: '#2a587f',
    950: '#000000',
  },
}
SCSS
$custom: #2a587f;
$custom-light: #6d86a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a587f",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 207.529,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.08182,
    "h": 246.6
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#2A587F
secondary
#AE7F57
accent
#8E4EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2A587F

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

Preview Lab → · Contrast checker → · Palette generator →

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