#2D5D87#2D5D87

#2D5D87 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.5% C 0.086 H 247.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2D5D87
RGBrgb(45, 93, 135)
HSLhsl(208, 50%, 35%)
HSVhsv(208, 67%, 53%)
CMYKcmyk(66.7%, 31.1%, 0%, 47.1%)
CIE-LABlab(38.08, -2.16, -28.20)
CIE-LCHlch(38.08, 28.28, 265.63°)
OKLaboklab(46.48% -0.0333 -0.0796)
OKLCHoklch(46.48% 0.086 247.3)
XYZxyz(9.3681, 10.1349, 24.3795)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D87 #87572D
analogous
#2D8784 #2D5D87 #2D3087
triadic
#2D5D87 #872D5D #5D872D
tetradic
#2D5D87 #842D87 #87572D #30872D
square
#2D5D87 #842D87 #87572D #30872D
split-complementary
#2D5D87 #872D30 #87842D
monochromatic
#0E1E2B #1E3D59 #2D5D87 #3C7DB5 #639BCB

Accessibility & contrast

On white

6.94
#2D5D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D5D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5D87
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D87#FFFFFF#000000##FFFFFF
##2D5D871.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E89
Deuteranopia (green-blind)
#3E5686
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5d87;
/* rgb */ color: rgb(45, 93, 135);
/* oklch */ color: oklch(46.5% 0.086 247.3);
Tailwind
colors: {
  custom: {
    50: '#708aaa',
    500: '#2d5d87',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d87;
$custom-light: #708aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d87",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 208,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.0863,
    "h": 247.3
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#2D5D87
secondary
#B2855E
accent
#8F4EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5D87

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

Preview Lab → · Contrast checker → · Palette generator →

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