#2D5F87#2D5F87

#2D5F87 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.085 H 245.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2D5F87
RGBrgb(45, 95, 135)
HSLhsl(207, 50%, 35%)
HSVhsv(207, 67%, 53%)
CMYKcmyk(66.7%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.71, -3.40, -27.22)
CIE-LCHlch(38.71, 27.43, 262.88°)
OKLaboklab(46.97% -0.0355 -0.0768)
OKLCHoklch(46.97% 0.085 245.2)
XYZxyz(9.5459, 10.4906, 24.4388)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F87 #87552D
analogous
#2D8782 #2D5F87 #2D3287
triadic
#2D5F87 #872D5F #5F872D
tetradic
#2D5F87 #822D87 #87552D #32872D
square
#2D5F87 #822D87 #87552D #32872D
split-complementary
#2D5F87 #872D32 #87822D
monochromatic
#0E1E2B #1E3F59 #2D5F87 #3C7FB5 #639DCB

Accessibility & contrast

On white

6.78
#2D5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F87
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F87#FFFFFF#000000##FFFFFF
##2D5F871.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5f87;
/* rgb */ color: rgb(45, 95, 135);
/* oklch */ color: oklch(47.0% 0.085 245.2);
Tailwind
colors: {
  custom: {
    50: '#708caa',
    500: '#2d5f87',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f87;
$custom-light: #708caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f87",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 206.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.08458,
    "h": 245.2
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#2D5F87
secondary
#B2835E
accent
#8C4EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2D5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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