#2D3686#2D3686

#2D3686 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.133 H 273.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2D3686
RGBrgb(45, 54, 134)
HSLhsl(234, 50%, 35%)
HSVhsv(234, 66%, 53%)
CMYKcmyk(66.4%, 59.7%, 0%, 47.5%)
CIE-LABlab(26.50, 23.40, -46.09)
CIE-LCHlch(26.50, 51.69, 296.92°)
OKLaboklab(37.56% 0.0077 -0.1326)
OKLCHoklch(37.56% 0.133 273.3)
XYZxyz(6.7030, 4.9169, 23.1454)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3686 #867D2D
analogous
#2D6286 #2D3686 #512D86
triadic
#2D3686 #862D36 #36862D
tetradic
#2D3686 #862D62 #867D2D #2D8651
square
#2D3686 #862D62 #867D2D #2D8651
split-complementary
#2D3686 #86512D #62862D
monochromatic
#0E112A #1E2458 #2D3686 #3C48B4 #636DCB

Accessibility & contrast

On white

10.59
#2D3686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D3686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3686
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3686#FFFFFF#000000##FFFFFF
##2D36861.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3686;
/* rgb */ color: rgb(45, 54, 134);
/* oklch */ color: oklch(37.6% 0.133 273.3);
Tailwind
colors: {
  custom: {
    50: '#716daa',
    500: '#2d3686',
    950: '#000000',
  },
}
SCSS
$custom: #2d3686;
$custom-light: #716daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3686",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 233.933,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.13284,
    "h": 273.3
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#2D3686
secondary
#B1A95E
accent
#CB4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2D3686

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

Preview Lab → · Contrast checker → · Palette generator →

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