#2D5886#2D5886

#2D5886 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.090 H 251.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2D5886
RGBrgb(45, 88, 134)
HSLhsl(211, 50%, 35%)
HSVhsv(211, 66%, 53%)
CMYKcmyk(66.4%, 34.3%, 0%, 47.5%)
CIE-LABlab(36.48, 0.63, -30.12)
CIE-LCHlch(36.48, 30.12, 271.21°)
OKLaboklab(45.2% -0.028 -0.0853)
OKLCHoklch(45.2% 0.09 251.8)
XYZxyz(8.8734, 9.2577, 23.8689)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5886 #865B2D
analogous
#2D8586 #2D5886 #2E2D86
triadic
#2D5886 #862D58 #58862D
tetradic
#2D5886 #862D85 #865B2D #2D862E
square
#2D5886 #862D85 #865B2D #2D862E
split-complementary
#2D5886 #862E2D #85862D
monochromatic
#0E1C2A #1E3A58 #2D5886 #3C76B4 #6395CB

Accessibility & contrast

On white

7.36
#2D5886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D5886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5886
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5886#FFFFFF#000000##FFFFFF
##2D58861.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A88
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5886;
/* rgb */ color: rgb(45, 88, 134);
/* oklch */ color: oklch(45.2% 0.090 251.8);
Tailwind
colors: {
  custom: {
    50: '#7086a9',
    500: '#2d5886',
    950: '#000000',
  },
}
SCSS
$custom: #2d5886;
$custom-light: #7086a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5886",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 134
  },
  "hsl": {
    "h": 211.011,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.452,
    "c": 0.08974,
    "h": 251.8
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#2D5886
secondary
#B1895E
accent
#964FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5886

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

Preview Lab → · Contrast checker → · Palette generator →

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