#2D5487#2D5487

#2D5487 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.3% C 0.095 H 255.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2D5487
RGBrgb(45, 84, 135)
HSLhsl(214, 50%, 35%)
HSVhsv(214, 67%, 53%)
CMYKcmyk(66.7%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.30, 3.58, -32.59)
CIE-LCHlch(35.30, 32.79, 276.26°)
OKLaboklab(44.3% -0.0233 -0.0925)
OKLCHoklch(44.3% 0.095 255.9)
XYZxyz(8.6241, 8.6470, 24.1315)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5487 #87602D
analogous
#2D8187 #2D5487 #332D87
triadic
#2D5487 #872D54 #54872D
tetradic
#2D5487 #872D81 #87602D #2D8733
square
#2D5487 #872D81 #87602D #2D8733
split-complementary
#2D5487 #87332D #81872D
monochromatic
#0E1B2B #1E3759 #2D5487 #3C71B5 #6390CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5487#FFFFFF#000000##FFFFFF
##2D54871.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)
#3E5889
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5487;
/* rgb */ color: rgb(45, 84, 135);
/* oklch */ color: oklch(44.3% 0.095 255.9);
Tailwind
colors: {
  custom: {
    50: '#7083aa',
    500: '#2d5487',
    950: '#000000',
  },
}
SCSS
$custom: #2d5487;
$custom-light: #7083aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5487",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 214,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44295,
    "c": 0.09542,
    "h": 255.9
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#2D5487
secondary
#B28D5E
accent
#9D4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5487

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

Preview Lab → · Contrast checker → · Palette generator →

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