#2D5486#2D5486

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

Color values

HEX#2D5486
RGBrgb(45, 84, 134)
HSLhsl(214, 50%, 35%)
HSVhsv(214, 66%, 53%)
CMYKcmyk(66.4%, 37.3%, 0%, 47.5%)
CIE-LABlab(35.24, 3.21, -32.07)
CIE-LCHlch(35.24, 32.23, 275.71°)
OKLaboklab(44.23% -0.0236 -0.091)
OKLCHoklch(44.23% 0.094 255.5)
XYZxyz(8.5540, 8.6189, 23.7625)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5486 #865F2D
analogous
#2D8086 #2D5486 #322D86
triadic
#2D5486 #862D54 #54862D
tetradic
#2D5486 #862D80 #865F2D #2D8632
square
#2D5486 #862D80 #865F2D #2D8632
split-complementary
#2D5486 #86322D #80862D
monochromatic
#0E1B2A #1E3758 #2D5486 #3C71B4 #6390CB

Accessibility & contrast

On white

7.71
#2D5486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5486
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5486#FFFFFF#000000##FFFFFF
##2D54861.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#324F85
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5486;
/* rgb */ color: rgb(45, 84, 134);
/* oklch */ color: oklch(44.2% 0.094 255.5);
Tailwind
colors: {
  custom: {
    50: '#7083a9',
    500: '#2d5486',
    950: '#000000',
  },
}
SCSS
$custom: #2d5486;
$custom-light: #7083a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5486",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 213.708,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.094,
    "h": 255.5
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#2D5486
secondary
#B18D5E
accent
#9C4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5486

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

Preview Lab → · Contrast checker → · Palette generator →

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