#2D3586#2D3586

#2D3586 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.134 H 273.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2D3586
RGBrgb(45, 53, 134)
HSLhsl(235, 50%, 35%)
HSVhsv(235, 66%, 53%)
CMYKcmyk(66.4%, 60.4%, 0%, 47.5%)
CIE-LABlab(26.23, 24.08, -46.53)
CIE-LCHlch(26.23, 52.39, 297.36°)
OKLaboklab(37.36% 0.0086 -0.1339)
OKLCHoklch(37.36% 0.134 273.7)
XYZxyz(6.6569, 4.8248, 23.1301)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3586 #867E2D
analogous
#2D6186 #2D3586 #522D86
triadic
#2D3586 #862D35 #35862D
tetradic
#2D3586 #862D61 #867E2D #2D8652
square
#2D3586 #862D61 #867E2D #2D8652
split-complementary
#2D3586 #86522D #61862D
monochromatic
#0E112A #1E2358 #2D3586 #3C47B4 #636CCB

Accessibility & contrast

On white

10.69
#2D3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3586
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3586#FFFFFF#000000##FFFFFF
##2D35861.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3586;
/* rgb */ color: rgb(45, 53, 134);
/* oklch */ color: oklch(37.4% 0.134 273.7);
Tailwind
colors: {
  custom: {
    50: '#716caa',
    500: '#2d3586',
    950: '#000000',
  },
}
SCSS
$custom: #2d3586;
$custom-light: #716caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3586",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 234.607,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37357,
    "c": 0.13418,
    "h": 273.7
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#2D3586
secondary
#B1AA5E
accent
#CD4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3586

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

Preview Lab → · Contrast checker → · Palette generator →

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