#2A5487#2A5487

#2A5487 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.097 H 254.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2A5487
RGBrgb(42, 84, 135)
HSLhsl(213, 53%, 35%)
HSVhsv(213, 69%, 53%)
CMYKcmyk(68.9%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.17, 3.03, -32.81)
CIE-LCHlch(35.17, 32.95, 275.27°)
OKLaboklab(44.16% -0.0257 -0.0932)
OKLCHoklch(44.16% 0.097 254.6)
XYZxyz(8.4967, 8.5813, 24.1255)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5487 #875D2A
analogous
#2A8387 #2A5487 #2F2A87
triadic
#2A5487 #872A54 #54872A
tetradic
#2A5487 #872A83 #875D2A #2A872F
square
#2A5487 #872A83 #875D2A #2A872F
split-complementary
#2A5487 #872F2A #83872A
monochromatic
#0D1A2A #1B3758 #2A5487 #3971B6 #5E90CD

Accessibility & contrast

On white

7.73
#2A5487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2A5487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5487
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5487#FFFFFF#000000##FFFFFF
##2A54871.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5789
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5487;
/* rgb */ color: rgb(42, 84, 135);
/* oklch */ color: oklch(44.2% 0.097 254.6);
Tailwind
colors: {
  custom: {
    50: '#6e83aa',
    500: '#2a5487',
    950: '#000000',
  },
}
SCSS
$custom: #2a5487;
$custom-light: #6e83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5487",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 212.903,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.0967,
    "h": 254.6
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#2A5487
secondary
#B38B5A
accent
#9B4CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5487

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

Preview Lab → · Contrast checker → · Palette generator →

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