#2D5C87#2D5C87

#2D5C87 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.2% C 0.087 H 248.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2D5C87
RGBrgb(45, 92, 135)
HSLhsl(209, 50%, 35%)
HSVhsv(209, 67%, 53%)
CMYKcmyk(66.7%, 31.9%, 0%, 47.1%)
CIE-LABlab(37.77, -1.53, -28.69)
CIE-LCHlch(37.77, 28.73, 266.95°)
OKLaboklab(46.24% -0.0322 -0.081)
OKLCHoklch(46.24% 0.087 248.4)
XYZxyz(9.2809, 9.9605, 24.3504)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C87 #87582D
analogous
#2D8785 #2D5C87 #2D2F87
triadic
#2D5C87 #872D5C #5C872D
tetradic
#2D5C87 #852D87 #87582D #2F872D
square
#2D5C87 #852D87 #87582D #2F872D
split-complementary
#2D5C87 #872D2F #87852D
monochromatic
#0E1D2B #1E3D59 #2D5C87 #3C7BB5 #639ACB

Accessibility & contrast

On white

7.02
#2D5C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2D5C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5C87
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C87#FFFFFF#000000##FFFFFF
##2D5C871.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#00666B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5c87;
/* rgb */ color: rgb(45, 92, 135);
/* oklch */ color: oklch(46.2% 0.087 248.4);
Tailwind
colors: {
  custom: {
    50: '#7089aa',
    500: '#2d5c87',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c87;
$custom-light: #7089aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c87",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 208.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.0872,
    "h": 248.4
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#2D5C87
secondary
#B2865E
accent
#914EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5C87

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

Preview Lab → · Contrast checker → · Palette generator →

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