#2D36A6#2D36A6

#2D36A6 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.177 H 272.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2D36A6
RGBrgb(45, 54, 166)
HSLhsl(236, 57%, 41%)
HSVhsv(236, 73%, 65%)
CMYKcmyk(72.9%, 67.5%, 0%, 34.9%)
CIE-LABlab(29.28, 35.07, -61.15)
CIE-LCHlch(29.28, 70.49, 299.84°)
OKLaboklab(40.47% 0.0062 -0.1768)
OKLCHoklch(40.47% 0.177 272)
XYZxyz(9.2820, 5.9485, 36.7280)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A6 #A69D2D
analogous
#2D73A6 #2D36A6 #612DA6
triadic
#2D36A6 #A62D36 #36A62D
tetradic
#2D36A6 #A62D73 #A69D2D #2DA661
square
#2D36A6 #A62D73 #A69D2D #2DA661
split-complementary
#2D36A6 #A6612D #73A62D
monochromatic
#131746 #202676 #2D36A6 #444ECC #747CD9

Accessibility & contrast

On white

9.59
#2D36A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D36A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36A6
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A6#FFFFFF#000000##FFFFFF
##2D36A61.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d36a6;
/* rgb */ color: rgb(45, 54, 166);
/* oklch */ color: oklch(40.5% 0.177 272.0);
Tailwind
colors: {
  custom: {
    50: '#786dc1',
    500: '#2d36a6',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a6;
$custom-light: #786dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a6",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 235.537,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.17689,
    "h": 272
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#2D36A6
secondary
#C1BB6E
accent
#D547E1
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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