#2D36A9#2D36A9

#2D36A9 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.181 H 271.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2D36A9
RGBrgb(45, 54, 169)
HSLhsl(236, 58%, 42%)
HSVhsv(236, 73%, 66%)
CMYKcmyk(73.4%, 68%, 0%, 33.7%)
CIE-LABlab(29.56, 36.14, -62.49)
CIE-LCHlch(29.56, 72.19, 300.04°)
OKLaboklab(40.76% 0.0059 -0.1807)
OKLCHoklch(40.76% 0.181 271.9)
XYZxyz(9.5604, 6.0598, 38.1942)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A9 #A9A02D
analogous
#2D74A9 #2D36A9 #622DA9
triadic
#2D36A9 #A92D36 #36A92D
tetradic
#2D36A9 #A92D74 #A9A02D #2DA962
square
#2D36A9 #A92D74 #A9A02D #2DA962
split-complementary
#2D36A9 #A9622D #74A92D
monochromatic
#131748 #202779 #2D36A9 #464FCE #767DDA

Accessibility & contrast

On white

9.49
#2D36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36A9
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A9#FFFFFF#000000##FFFFFF
##2D36A91.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d36a9;
/* rgb */ color: rgb(45, 54, 169);
/* oklch */ color: oklch(40.8% 0.181 271.9);
Tailwind
colors: {
  custom: {
    50: '#796dc4',
    500: '#2d36a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a9;
$custom-light: #796dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a9",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 235.645,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40755,
    "c": 0.18082,
    "h": 271.9
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#2D36A9
secondary
#C2BC6F
accent
#D647E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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