#2D5586#2D5586

#2D5586 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.5% C 0.093 H 254.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2D5586
RGBrgb(45, 85, 134)
HSLhsl(213, 50%, 35%)
HSVhsv(213, 66%, 53%)
CMYKcmyk(66.4%, 36.6%, 0%, 47.5%)
CIE-LABlab(35.55, 2.56, -31.58)
CIE-LCHlch(35.55, 31.68, 274.63°)
OKLaboklab(44.47% -0.0247 -0.0896)
OKLCHoklch(44.47% 0.093 254.6)
XYZxyz(8.6322, 8.7753, 23.7885)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5586 #865E2D
analogous
#2D8186 #2D5586 #322D86
triadic
#2D5586 #862D55 #55862D
tetradic
#2D5586 #862D81 #865E2D #2D8632
square
#2D5586 #862D81 #865E2D #2D8632
split-complementary
#2D5586 #86322D #81862D
monochromatic
#0E1B2A #1E3858 #2D5586 #3C72B4 #6391CB

Accessibility & contrast

On white

7.62
#2D5586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5586
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5586#FFFFFF#000000##FFFFFF
##2D55861.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405888
Deuteranopia (green-blind)
#335085
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5586;
/* rgb */ color: rgb(45, 85, 134);
/* oklch */ color: oklch(44.5% 0.093 254.6);
Tailwind
colors: {
  custom: {
    50: '#7084a9',
    500: '#2d5586',
    950: '#000000',
  },
}
SCSS
$custom: #2d5586;
$custom-light: #7084a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5586",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 134
  },
  "hsl": {
    "h": 213.034,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.09291,
    "h": 254.6
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#2D5586
secondary
#B18C5E
accent
#9B4FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5586

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

Preview Lab → · Contrast checker → · Palette generator →

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