#2D5887#2D5887

#2D5887 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.091 H 252.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2D5887
RGBrgb(45, 88, 135)
HSLhsl(211, 50%, 35%)
HSVhsv(211, 67%, 53%)
CMYKcmyk(66.7%, 34.8%, 0%, 47.1%)
CIE-LABlab(36.53, 1.00, -30.64)
CIE-LCHlch(36.53, 30.66, 271.87°)
OKLaboklab(45.26% -0.0277 -0.0868)
OKLCHoklch(45.26% 0.091 252.3)
XYZxyz(8.9435, 9.2857, 24.2380)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5887 #875C2D
analogous
#2D8587 #2D5887 #2F2D87
triadic
#2D5887 #872D58 #58872D
tetradic
#2D5887 #872D85 #875C2D #2D872F
square
#2D5887 #872D85 #875C2D #2D872F
split-complementary
#2D5887 #872F2D #85872D
monochromatic
#0E1C2B #1E3A59 #2D5887 #3C76B5 #6395CB

Accessibility & contrast

On white

7.35
#2D5887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D5887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5887
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5887#FFFFFF#000000##FFFFFF
##2D58871.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5887;
/* rgb */ color: rgb(45, 88, 135);
/* oklch */ color: oklch(45.3% 0.091 252.3);
Tailwind
colors: {
  custom: {
    50: '#7086aa',
    500: '#2d5887',
    950: '#000000',
  },
}
SCSS
$custom: #2d5887;
$custom-light: #7086aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5887",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 211.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45259,
    "c": 0.09111,
    "h": 252.3
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#2D5887
secondary
#B28A5E
accent
#974EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5887

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

Preview Lab → · Contrast checker → · Palette generator →

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