#2D36B2#2D36B2

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

Color values

HEX#2D36B2
RGBrgb(45, 54, 178)
HSLhsl(236, 60%, 44%)
HSVhsv(236, 75%, 70%)
CMYKcmyk(74.7%, 69.7%, 0%, 30.2%)
CIE-LABlab(30.42, 39.31, -66.47)
CIE-LCHlch(30.42, 77.22, 300.60°)
OKLaboklab(41.64% 0.0049 -0.1923)
OKLCHoklch(41.64% 0.192 271.5)
XYZxyz(10.4345, 6.4095, 42.7981)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36B2 #B2A92D
analogous
#2D78B2 #2D36B2 #662DB2
triadic
#2D36B2 #B22D36 #36B22D
tetradic
#2D36B2 #B22D78 #B2A92D #2DB266
square
#2D36B2 #B22D78 #B2A92D #2DB266
split-complementary
#2D36B2 #B2662D #78B22D
monochromatic
#141850 #212781 #2D36B2 #4B54D1 #7C82DE

Accessibility & contrast

On white

9.20
#2D36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36B2
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36B2#FFFFFF#000000##FFFFFF
##2D36B21.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d36b2;
/* rgb */ color: rgb(45, 54, 178);
/* oklch */ color: oklch(41.6% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b6eca',
    500: '#2d36b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d36b2;
$custom-light: #7b6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36b2",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 235.94,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41638,
    "c": 0.19237,
    "h": 271.5
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#2D36B2
secondary
#C6C175
accent
#D845E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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