#2D5585#2D5585

#2D5585 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.4% C 0.091 H 254.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2D5585
RGBrgb(45, 85, 133)
HSLhsl(213, 49%, 35%)
HSVhsv(213, 66%, 52%)
CMYKcmyk(66.2%, 36.1%, 0%, 47.8%)
CIE-LABlab(35.49, 2.19, -31.05)
CIE-LCHlch(35.49, 31.13, 274.03°)
OKLaboklab(44.41% -0.0249 -0.088)
OKLCHoklch(44.41% 0.092 254.2)
XYZxyz(8.5628, 8.7475, 23.4229)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5585 #855D2D
analogous
#2D8185 #2D5585 #312D85
triadic
#2D5585 #852D55 #55852D
tetradic
#2D5585 #852D81 #855D2D #2D8531
square
#2D5585 #852D81 #855D2D #2D8531
split-complementary
#2D5585 #85312D #81852D
monochromatic
#0E1B2A #1E3857 #2D5585 #3C72B3 #6291CA

Accessibility & contrast

On white

7.64
#2D5585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2D5585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5585
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5585#FFFFFF#000000##FFFFFF
##2D55851.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405887
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5585;
/* rgb */ color: rgb(45, 85, 133);
/* oklch */ color: oklch(44.4% 0.091 254.2);
Tailwind
colors: {
  custom: {
    50: '#6f84a9',
    500: '#2d5585',
    950: '#000000',
  },
}
SCSS
$custom: #2d5585;
$custom-light: #6f84a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5585",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 133
  },
  "hsl": {
    "h": 212.727,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44414,
    "c": 0.0915,
    "h": 254.2
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#2D5585
secondary
#B08B5D
accent
#9A4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5585

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

Preview Lab → · Contrast checker → · Palette generator →

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