#2D3486#2D3486

#2D3486 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.136 H 274.0°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2D3486
RGBrgb(45, 52, 134)
HSLhsl(235, 50%, 35%)
HSVhsv(235, 66%, 53%)
CMYKcmyk(66.4%, 61.2%, 0%, 47.5%)
CIE-LABlab(25.96, 24.75, -46.96)
CIE-LCHlch(25.96, 53.08, 297.80°)
OKLaboklab(37.16% 0.0096 -0.1352)
OKLCHoklch(37.16% 0.136 274)
XYZxyz(6.6118, 4.7345, 23.1151)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3486 #867F2D
analogous
#2D6086 #2D3486 #532D86
triadic
#2D3486 #862D34 #34862D
tetradic
#2D3486 #862D60 #867F2D #2D8653
square
#2D3486 #862D60 #867F2D #2D8653
split-complementary
#2D3486 #86532D #60862D
monochromatic
#0E102A #1E2258 #2D3486 #3C46B4 #636BCB

Accessibility & contrast

On white

10.79
#2D3486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D3486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3486
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3486#FFFFFF#000000##FFFFFF
##2D34861.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3486;
/* rgb */ color: rgb(45, 52, 134);
/* oklch */ color: oklch(37.2% 0.136 274.0);
Tailwind
colors: {
  custom: {
    50: '#716baa',
    500: '#2d3486',
    950: '#000000',
  },
}
SCSS
$custom: #2d3486;
$custom-light: #716baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3486",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 235.281,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.13552,
    "h": 274
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#2D3486
secondary
#B1AA5E
accent
#CE4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3486

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

Preview Lab → · Contrast checker → · Palette generator →

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