#2D36B1#2D36B1

#2D36B1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.191 H 271.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2D36B1
RGBrgb(45, 54, 177)
HSLhsl(236, 59%, 44%)
HSVhsv(236, 75%, 69%)
CMYKcmyk(74.6%, 69.5%, 0%, 30.6%)
CIE-LABlab(30.33, 38.96, -66.03)
CIE-LCHlch(30.33, 76.67, 300.55°)
OKLaboklab(41.54% 0.005 -0.191)
OKLCHoklch(41.54% 0.191 271.5)
XYZxyz(10.3345, 6.3695, 42.2712)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36B1 #B1A82D
analogous
#2D78B1 #2D36B1 #662DB1
triadic
#2D36B1 #B12D36 #36B12D
tetradic
#2D36B1 #B12D78 #B1A82D #2DB166
square
#2D36B1 #B12D78 #B1A82D #2DB166
split-complementary
#2D36B1 #B1662D #78B12D
monochromatic
#14184F #212780 #2D36B1 #4A53D1 #7B82DD

Accessibility & contrast

On white

9.23
#2D36B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D36B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36B1
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36B1#FFFFFF#000000##FFFFFF
##2D36B11.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d36b1;
/* rgb */ color: rgb(45, 54, 177);
/* oklch */ color: oklch(41.5% 0.191 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b6dc9',
    500: '#2d36b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d36b1;
$custom-light: #7b6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36b1",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 177
  },
  "hsl": {
    "h": 235.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.19111,
    "h": 271.5
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#2D36B1
secondary
#C6C074
accent
#D845E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D36B1

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

Preview Lab → · Contrast checker → · Palette generator →

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