#2D36A5#2D36A5

#2D36A5 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.176 H 272.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2D36A5
RGBrgb(45, 54, 165)
HSLhsl(236, 57%, 41%)
HSVhsv(236, 73%, 65%)
CMYKcmyk(72.7%, 67.3%, 0%, 35.3%)
CIE-LABlab(29.19, 34.71, -60.70)
CIE-LCHlch(29.19, 69.92, 299.76°)
OKLaboklab(40.37% 0.0063 -0.1755)
OKLCHoklch(40.37% 0.176 272)
XYZxyz(9.1906, 5.9119, 36.2468)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A5 #A59C2D
analogous
#2D72A5 #2D36A5 #602DA5
triadic
#2D36A5 #A52D36 #36A52D
tetradic
#2D36A5 #A52D72 #A59C2D #2DA560
square
#2D36A5 #A52D72 #A59C2D #2DA560
split-complementary
#2D36A5 #A5602D #72A52D
monochromatic
#131745 #202675 #2D36A5 #434ECC #737BD9

Accessibility & contrast

On white

9.62
#2D36A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D36A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36A5
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A5#FFFFFF#000000##FFFFFF
##2D36A51.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d36a5;
/* rgb */ color: rgb(45, 54, 165);
/* oklch */ color: oklch(40.4% 0.176 272.0);
Tailwind
colors: {
  custom: {
    50: '#786dc1',
    500: '#2d36a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a5;
$custom-light: #786dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a5",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 235.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.17558,
    "h": 272
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#2D36A5
secondary
#C1BA6D
accent
#D547E0
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D36A5

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

Preview Lab → · Contrast checker → · Palette generator →

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