#2A5585#2A5585

#2A5585 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.093 H 252.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2A5585
RGBrgb(42, 85, 133)
HSLhsl(212, 52%, 34%)
HSVhsv(212, 68%, 52%)
CMYKcmyk(68.4%, 36.1%, 0%, 47.8%)
CIE-LABlab(35.36, 1.63, -31.27)
CIE-LCHlch(35.36, 31.31, 272.98°)
OKLaboklab(44.28% -0.0274 -0.0887)
OKLCHoklch(44.28% 0.093 252.8)
XYZxyz(8.4354, 8.6818, 23.4170)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5585 #855A2A
analogous
#2A8385 #2A5585 #2C2A85
triadic
#2A5585 #852A55 #55852A
tetradic
#2A5585 #852A83 #855A2A #2A852C
square
#2A5585 #852A83 #855A2A #2A852C
split-complementary
#2A5585 #852C2A #83852A
monochromatic
#0D1A28 #1B3756 #2A5585 #3973B4 #5D92CC

Accessibility & contrast

On white

7.67
#2A5585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2A5585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5585
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5585#FFFFFF#000000##FFFFFF
##2A55851.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405887
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5585;
/* rgb */ color: rgb(42, 85, 133);
/* oklch */ color: oklch(44.3% 0.093 252.8);
Tailwind
colors: {
  custom: {
    50: '#6e84a9',
    500: '#2a5585',
    950: '#000000',
  },
}
SCSS
$custom: #2a5585;
$custom-light: #6e84a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5585",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 133
  },
  "hsl": {
    "h": 211.648,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.09282,
    "h": 252.8
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#2A5585
secondary
#B28859
accent
#984CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2A5585

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

Preview Lab → · Contrast checker → · Palette generator →

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