#2D36B6#2D36B6

#2D36B6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.197 H 271.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2D36B6
RGBrgb(45, 54, 182)
HSLhsl(236, 60%, 45%)
HSVhsv(236, 75%, 71%)
CMYKcmyk(75.3%, 70.3%, 0%, 28.6%)
CIE-LABlab(30.81, 40.71, -68.20)
CIE-LCHlch(30.81, 79.43, 300.83°)
OKLaboklab(42.04% 0.0044 -0.1974)
OKLCHoklch(42.04% 0.197 271.3)
XYZxyz(10.8420, 6.5725, 44.9441)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36B6 #B6AD2D
analogous
#2D7BB6 #2D36B6 #682DB6
triadic
#2D36B6 #B62D36 #36B62D
tetradic
#2D36B6 #B62D7B #B6AD2D #2DB668
square
#2D36B6 #B62D7B #B6AD2D #2DB668
split-complementary
#2D36B6 #B6682D #7BB62D
monochromatic
#151954 #212785 #2D36B6 #4D56D3 #7E85DF

Accessibility & contrast

On white

9.07
#2D36B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D36B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36B6
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36B6#FFFFFF#000000##FFFFFF
##2D36B61.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d36b6;
/* rgb */ color: rgb(45, 54, 182);
/* oklch */ color: oklch(42.0% 0.197 271.3);
Tailwind
colors: {
  custom: {
    50: '#7c6ecd',
    500: '#2d36b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d36b6;
$custom-light: #7c6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36b6",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 236.058,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.19743,
    "h": 271.3
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#2D36B6
secondary
#C8C277
accent
#D944E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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