#2D5686#2D5686

#2D5686 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.092 H 253.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2D5686
RGBrgb(45, 86, 134)
HSLhsl(212, 50%, 35%)
HSVhsv(212, 66%, 53%)
CMYKcmyk(66.4%, 35.8%, 0%, 47.5%)
CIE-LABlab(35.86, 1.92, -31.09)
CIE-LCHlch(35.86, 31.15, 273.53°)
OKLaboklab(44.72% -0.0258 -0.0881)
OKLCHoklch(44.72% 0.092 253.7)
XYZxyz(8.7115, 8.9338, 23.8149)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5686 #865D2D
analogous
#2D8286 #2D5686 #312D86
triadic
#2D5686 #862D56 #56862D
tetradic
#2D5686 #862D82 #865D2D #2D8631
square
#2D5686 #862D82 #865D2D #2D8631
split-complementary
#2D5686 #86312D #82862D
monochromatic
#0E1B2A #1E3958 #2D5686 #3C73B4 #6393CB

Accessibility & contrast

On white

7.53
#2D5686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D5686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5686
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5686#FFFFFF#000000##FFFFFF
##2D56861.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#355085
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5686;
/* rgb */ color: rgb(45, 86, 134);
/* oklch */ color: oklch(44.7% 0.092 253.7);
Tailwind
colors: {
  custom: {
    50: '#7085a9',
    500: '#2d5686',
    950: '#000000',
  },
}
SCSS
$custom: #2d5686;
$custom-light: #7085a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5686",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 212.36,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44715,
    "c": 0.09182,
    "h": 253.7
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#2D5686
secondary
#B18B5E
accent
#994FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5686

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

Preview Lab → · Contrast checker → · Palette generator →

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