#2D5985#2D5985

#2D5985 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.087 H 250.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2D5985
RGBrgb(45, 89, 133)
HSLhsl(210, 49%, 35%)
HSVhsv(210, 66%, 52%)
CMYKcmyk(66.2%, 33.1%, 0%, 47.8%)
CIE-LABlab(36.73, -0.37, -29.10)
CIE-LCHlch(36.73, 29.10, 269.28°)
OKLaboklab(45.39% -0.0294 -0.0823)
OKLCHoklch(45.39% 0.087 250.3)
XYZxyz(8.8866, 9.3952, 23.5309)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5985 #85592D
analogous
#2D8585 #2D5985 #2D2D85
triadic
#2D5985 #852D59 #59852D
tetradic
#2D5985 #852D85 #85592D #2D852D
square
#2D5985 #852D85 #85592D #2D852D
split-complementary
#2D5985 #852D2D #85852D
monochromatic
#0E1C2A #1E3A57 #2D5985 #3C78B3 #6296CA

Accessibility & contrast

On white

7.29
#2D5985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D5985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5985
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5985#FFFFFF#000000##FFFFFF
##2D59851.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B87
Deuteranopia (green-blind)
#3A5384
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5985;
/* rgb */ color: rgb(45, 89, 133);
/* oklch */ color: oklch(45.4% 0.087 250.3);
Tailwind
colors: {
  custom: {
    50: '#6f87a8',
    500: '#2d5985',
    950: '#000000',
  },
}
SCSS
$custom: #2d5985;
$custom-light: #6f87a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5985",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 210,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45386,
    "c": 0.08738,
    "h": 250.3
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#2D5985
secondary
#B0875D
accent
#944FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2D5985

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

Preview Lab → · Contrast checker → · Palette generator →

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