#2D5F89#2D5F89

#2D5F89 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.087 H 246.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2D5F89
RGBrgb(45, 95, 137)
HSLhsl(207, 51%, 36%)
HSVhsv(207, 67%, 54%)
CMYKcmyk(67.2%, 30.7%, 0%, 46.3%)
CIE-LABlab(38.81, -2.68, -28.28)
CIE-LCHlch(38.81, 28.40, 264.59°)
OKLaboklab(47.08% -0.0349 -0.0798)
OKLCHoklch(47.08% 0.087 246.4)
XYZxyz(9.6881, 10.5475, 25.1874)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F89 #89572D
analogous
#2D8985 #2D5F89 #2D3189
triadic
#2D5F89 #892D5F #5F892D
tetradic
#2D5F89 #852D89 #89572D #31892D
square
#2D5F89 #852D89 #89572D #31892D
split-complementary
#2D5F89 #892D31 #89852D
monochromatic
#0F1F2D #1E3F5B #2D5F89 #3C7FB7 #649DCC

Accessibility & contrast

On white

6.75
#2D5F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2D5F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F89
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F89#FFFFFF#000000##FFFFFF
##2D5F891.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608B
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5f89;
/* rgb */ color: rgb(45, 95, 137);
/* oklch */ color: oklch(47.1% 0.087 246.4);
Tailwind
colors: {
  custom: {
    50: '#708cab',
    500: '#2d5f89',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f89;
$custom-light: #708cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f89",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 207.391,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47083,
    "c": 0.08711,
    "h": 246.4
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5F89

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

Preview Lab → · Contrast checker → · Palette generator →

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