#2D36A4#2D36A4

#2D36A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.174 H 272.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2D36A4
RGBrgb(45, 54, 164)
HSLhsl(235, 57%, 41%)
HSVhsv(235, 73%, 64%)
CMYKcmyk(72.6%, 67.1%, 0%, 35.7%)
CIE-LABlab(29.10, 34.36, -60.25)
CIE-LCHlch(29.10, 69.36, 299.69°)
OKLaboklab(40.27% 0.0063 -0.1741)
OKLCHoklch(40.27% 0.174 272.1)
XYZxyz(9.0999, 5.8756, 35.7693)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A4 #A49B2D
analogous
#2D71A4 #2D36A4 #5F2DA4
triadic
#2D36A4 #A42D36 #36A42D
tetradic
#2D36A4 #A42D71 #A49B2D #2DA45F
square
#2D36A4 #A42D71 #A49B2D #2DA45F
split-complementary
#2D36A4 #A45F2D #71A42D
monochromatic
#131644 #202674 #2D36A4 #434DCB #737BD9

Accessibility & contrast

On white

9.65
#2D36A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D36A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36A4
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A4#FFFFFF#000000##FFFFFF
##2D36A41.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d36a4;
/* rgb */ color: rgb(45, 54, 164);
/* oklch */ color: oklch(40.3% 0.174 272.1);
Tailwind
colors: {
  custom: {
    50: '#786dc0',
    500: '#2d36a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a4;
$custom-light: #786dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a4",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 235.462,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40274,
    "c": 0.17427,
    "h": 272.1
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#2D36A4
secondary
#C0BA6D
accent
#D548E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D36A4

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

Preview Lab → · Contrast checker → · Palette generator →

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