#2A5587#2A5587

#2A5587 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.4% C 0.096 H 253.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2A5587
RGBrgb(42, 85, 135)
HSLhsl(212, 53%, 35%)
HSVhsv(212, 69%, 53%)
CMYKcmyk(68.9%, 37%, 0%, 47.1%)
CIE-LABlab(35.47, 2.38, -32.32)
CIE-LCHlch(35.47, 32.41, 274.21°)
OKLaboklab(44.4% -0.0268 -0.0918)
OKLCHoklch(44.4% 0.096 253.7)
XYZxyz(8.5749, 8.7376, 24.1516)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5587 #875C2A
analogous
#2A8487 #2A5587 #2E2A87
triadic
#2A5587 #872A55 #55872A
tetradic
#2A5587 #872A84 #875C2A #2A872E
square
#2A5587 #872A84 #875C2A #2A872E
split-complementary
#2A5587 #872E2A #84872A
monochromatic
#0D1A2A #1B3858 #2A5587 #3972B6 #5E92CD

Accessibility & contrast

On white

7.64
#2A5587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A5587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5587
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5587#FFFFFF#000000##FFFFFF
##2A55871.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5889
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5587;
/* rgb */ color: rgb(42, 85, 135);
/* oklch */ color: oklch(44.4% 0.096 253.7);
Tailwind
colors: {
  custom: {
    50: '#6e84aa',
    500: '#2a5587',
    950: '#000000',
  },
}
SCSS
$custom: #2a5587;
$custom-light: #6e84aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5587",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 212.258,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44399,
    "c": 0.09561,
    "h": 253.7
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#2A5587
secondary
#B38A5A
accent
#994CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5587

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

Preview Lab → · Contrast checker → · Palette generator →

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