#2D36A7#2D36A7

#2D36A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.178 H 271.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2D36A7
RGBrgb(45, 54, 167)
HSLhsl(236, 58%, 42%)
HSVhsv(236, 73%, 65%)
CMYKcmyk(73.1%, 67.7%, 0%, 34.5%)
CIE-LABlab(29.38, 35.43, -61.60)
CIE-LCHlch(29.38, 71.06, 299.90°)
OKLaboklab(40.56% 0.0061 -0.1781)
OKLCHoklch(40.56% 0.178 271.9)
XYZxyz(9.3741, 5.9853, 37.2130)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A7 #A79E2D
analogous
#2D73A7 #2D36A7 #612DA7
triadic
#2D36A7 #A72D36 #36A72D
tetradic
#2D36A7 #A72D73 #A79E2D #2DA761
square
#2D36A7 #A72D73 #A79E2D #2DA761
split-complementary
#2D36A7 #A7612D #73A72D
monochromatic
#131747 #202677 #2D36A7 #444FCD #757CDA

Accessibility & contrast

On white

9.56
#2D36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D36A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36A7
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A7#FFFFFF#000000##FFFFFF
##2D36A71.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d36a7;
/* rgb */ color: rgb(45, 54, 167);
/* oklch */ color: oklch(40.6% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#786dc2',
    500: '#2d36a7',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a7;
$custom-light: #786dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a7",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 235.574,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.1782,
    "h": 271.9
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#2D36A7
secondary
#C1BB6E
accent
#D547E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D36A7

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

Preview Lab → · Contrast checker → · Palette generator →

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