#2D36A8#2D36A8

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

Color values

HEX#2D36A8
RGBrgb(45, 54, 168)
HSLhsl(236, 58%, 42%)
HSVhsv(236, 73%, 66%)
CMYKcmyk(73.2%, 67.9%, 0%, 34.1%)
CIE-LABlab(29.47, 35.78, -62.05)
CIE-LCHlch(29.47, 71.63, 299.97°)
OKLaboklab(40.66% 0.006 -0.1794)
OKLCHoklch(40.66% 0.18 271.9)
XYZxyz(9.4669, 6.0224, 37.7017)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A8 #A89F2D
analogous
#2D74A8 #2D36A8 #622DA8
triadic
#2D36A8 #A82D36 #36A82D
tetradic
#2D36A8 #A82D74 #A89F2D #2DA862
square
#2D36A8 #A82D74 #A89F2D #2DA862
split-complementary
#2D36A8 #A8622D #74A82D
monochromatic
#131747 #202678 #2D36A8 #454FCD #757DDA

Accessibility & contrast

On white

9.53
#2D36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D36A8
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A8#FFFFFF#000000##FFFFFF
##2D36A81.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d36a8;
/* rgb */ color: rgb(45, 54, 168);
/* oklch */ color: oklch(40.7% 0.180 271.9);
Tailwind
colors: {
  custom: {
    50: '#796dc3',
    500: '#2d36a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a8;
$custom-light: #796dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a8",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 235.61,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.17951,
    "h": 271.9
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#2D36A8
secondary
#C2BC6F
accent
#D647E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2D36A8

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

Preview Lab → · Contrast checker → · Palette generator →

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