#2D5B87#2D5B87

#2D5B87 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.0% C 0.088 H 249.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2D5B87
RGBrgb(45, 91, 135)
HSLhsl(209, 50%, 35%)
HSVhsv(209, 67%, 53%)
CMYKcmyk(66.7%, 32.6%, 0%, 47.1%)
CIE-LABlab(37.46, -0.90, -29.18)
CIE-LCHlch(37.46, 29.19, 268.23°)
OKLaboklab(45.99% -0.031 -0.0825)
OKLCHoklch(45.99% 0.088 249.4)
XYZxyz(9.1948, 9.7884, 24.3218)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B87 #87592D
analogous
#2D8786 #2D5B87 #2D2E87
triadic
#2D5B87 #872D5B #5B872D
tetradic
#2D5B87 #862D87 #87592D #2E872D
square
#2D5B87 #862D87 #87592D #2E872D
split-complementary
#2D5B87 #872D2E #87862D
monochromatic
#0E1D2B #1E3C59 #2D5B87 #3C7AB5 #6398CB

Accessibility & contrast

On white

7.10
#2D5B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D5B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B87
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B87#FFFFFF#000000##FFFFFF
##2D5B871.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d5b87;
/* rgb */ color: rgb(45, 91, 135);
/* oklch */ color: oklch(46.0% 0.088 249.4);
Tailwind
colors: {
  custom: {
    50: '#7089aa',
    500: '#2d5b87',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b87;
$custom-light: #7089aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b87",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 209.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.08814,
    "h": 249.4
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#2D5B87
secondary
#B2875E
accent
#924EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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