#2D5E87#2D5E87

#2D5E87 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.7% C 0.085 H 246.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2D5E87
RGBrgb(45, 94, 135)
HSLhsl(207, 50%, 35%)
HSVhsv(207, 67%, 53%)
CMYKcmyk(66.7%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.40, -2.78, -27.71)
CIE-LCHlch(38.40, 27.85, 264.27°)
OKLaboklab(46.73% -0.0344 -0.0782)
OKLCHoklch(46.73% 0.085 246.3)
XYZxyz(9.4564, 10.3116, 24.4090)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E87 #87562D
analogous
#2D8783 #2D5E87 #2D3187
triadic
#2D5E87 #872D5E #5E872D
tetradic
#2D5E87 #832D87 #87562D #31872D
square
#2D5E87 #832D87 #87562D #31872D
split-complementary
#2D5E87 #872D31 #87832D
monochromatic
#0E1E2B #1E3E59 #2D5E87 #3C7EB5 #639CCB

Accessibility & contrast

On white

6.86
#2D5E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2D5E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E87
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E87#FFFFFF#000000##FFFFFF
##2D5E871.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#405686
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5e87;
/* rgb */ color: rgb(45, 94, 135);
/* oklch */ color: oklch(46.7% 0.085 246.3);
Tailwind
colors: {
  custom: {
    50: '#708baa',
    500: '#2d5e87',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e87;
$custom-light: #708baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e87",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 207.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.08542,
    "h": 246.3
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#2D5E87
secondary
#B2845E
accent
#8E4EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2D5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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