#2A5584#2A5584

#2A5584 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.091 H 252.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2A5584
RGBrgb(42, 85, 132)
HSLhsl(211, 52%, 34%)
HSVhsv(211, 68%, 52%)
CMYKcmyk(68.2%, 35.6%, 0%, 48.2%)
CIE-LABlab(35.31, 1.26, -30.74)
CIE-LCHlch(35.31, 30.77, 272.34°)
OKLaboklab(44.22% -0.0277 -0.0871)
OKLCHoklch(44.22% 0.091 252.4)
XYZxyz(8.3667, 8.6543, 23.0548)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5584 #84592A
analogous
#2A8284 #2A5584 #2C2A84
triadic
#2A5584 #842A55 #55842A
tetradic
#2A5584 #842A82 #84592A #2A842C
square
#2A5584 #842A82 #84592A #2A842C
split-complementary
#2A5584 #842C2A #82842A
monochromatic
#0C1927 #1B3756 #2A5584 #3973B2 #5D92CB

Accessibility & contrast

On white

7.69
#2A5584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A5584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5584
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5584#FFFFFF#000000##FFFFFF
##2A55841.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405886
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5584;
/* rgb */ color: rgb(42, 85, 132);
/* oklch */ color: oklch(44.2% 0.091 252.4);
Tailwind
colors: {
  custom: {
    50: '#6e84a8',
    500: '#2a5584',
    950: '#000000',
  },
}
SCSS
$custom: #2a5584;
$custom-light: #6e84a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5584",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 132
  },
  "hsl": {
    "h": 211.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.09143,
    "h": 252.4
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#2A5584
secondary
#B18759
accent
#974DDB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2A5584

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

Preview Lab → · Contrast checker → · Palette generator →

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