#2D5587#2D5587

#2D5587 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.5% C 0.094 H 255.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2D5587
RGBrgb(45, 85, 135)
HSLhsl(213, 50%, 35%)
HSVhsv(213, 67%, 53%)
CMYKcmyk(66.7%, 37%, 0%, 47.1%)
CIE-LABlab(35.60, 2.93, -32.11)
CIE-LCHlch(35.60, 32.24, 275.21°)
OKLaboklab(44.54% -0.0244 -0.0911)
OKLCHoklch(44.54% 0.094 255)
XYZxyz(8.7023, 8.8033, 24.1576)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5587 #875F2D
analogous
#2D8287 #2D5587 #322D87
triadic
#2D5587 #872D55 #55872D
tetradic
#2D5587 #872D82 #875F2D #2D8732
square
#2D5587 #872D82 #875F2D #2D8732
split-complementary
#2D5587 #87322D #82872D
monochromatic
#0E1B2B #1E3859 #2D5587 #3C72B5 #6391CB

Accessibility & contrast

On white

7.61
#2D5587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5587
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5587#FFFFFF#000000##FFFFFF
##2D55871.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5889
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5587;
/* rgb */ color: rgb(45, 85, 135);
/* oklch */ color: oklch(44.5% 0.094 255.0);
Tailwind
colors: {
  custom: {
    50: '#7084aa',
    500: '#2d5587',
    950: '#000000',
  },
}
SCSS
$custom: #2d5587;
$custom-light: #7084aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5587",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 213.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.09431,
    "h": 255
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5587

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

Preview Lab → · Contrast checker → · Palette generator →

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