#2D5687#2D5687

#2D5687 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.093 H 254.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D5687
RGBrgb(45, 86, 135)
HSLhsl(213, 50%, 35%)
HSVhsv(213, 67%, 53%)
CMYKcmyk(66.7%, 36.3%, 0%, 47.1%)
CIE-LABlab(35.91, 2.28, -31.62)
CIE-LCHlch(35.91, 31.70, 274.13°)
OKLaboklab(44.78% -0.0255 -0.0897)
OKLCHoklch(44.78% 0.093 254.1)
XYZxyz(8.7816, 8.9619, 24.1840)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5687 #875E2D
analogous
#2D8387 #2D5687 #312D87
triadic
#2D5687 #872D56 #56872D
tetradic
#2D5687 #872D83 #875E2D #2D8731
square
#2D5687 #872D83 #875E2D #2D8731
split-complementary
#2D5687 #87312D #83872D
monochromatic
#0E1C2B #1E3959 #2D5687 #3C73B5 #6393CB

Accessibility & contrast

On white

7.52
#2D5687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D5687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5687
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5687#FFFFFF#000000##FFFFFF
##2D56871.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5687;
/* rgb */ color: rgb(45, 86, 135);
/* oklch */ color: oklch(44.8% 0.093 254.1);
Tailwind
colors: {
  custom: {
    50: '#7085aa',
    500: '#2d5687',
    950: '#000000',
  },
}
SCSS
$custom: #2d5687;
$custom-light: #7085aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5687",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 135
  },
  "hsl": {
    "h": 212.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44776,
    "c": 0.09323,
    "h": 254.1
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#2D5687
secondary
#B28C5E
accent
#9A4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5687

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

Preview Lab → · Contrast checker → · Palette generator →

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