#2D36A2#2D36A2

#2D36A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.172 H 272.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2D36A2
RGBrgb(45, 54, 162)
HSLhsl(235, 57%, 41%)
HSVhsv(235, 72%, 64%)
CMYKcmyk(72.2%, 66.7%, 0%, 36.5%)
CIE-LABlab(28.91, 33.64, -59.34)
CIE-LCHlch(28.91, 68.21, 299.55°)
OKLaboklab(40.08% 0.0065 -0.1715)
OKLCHoklch(40.08% 0.172 272.2)
XYZxyz(8.9207, 5.8040, 34.8256)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36A2 #A2992D
analogous
#2D70A2 #2D36A2 #5F2DA2
triadic
#2D36A2 #A22D36 #36A22D
tetradic
#2D36A2 #A22D70 #A2992D #2DA25F
square
#2D36A2 #A22D70 #A2992D #2DA25F
split-complementary
#2D36A2 #A25F2D #70A22D
monochromatic
#121642 #202672 #2D36A2 #424CCA #727AD8

Accessibility & contrast

On white

9.72
#2D36A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D36A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36A2
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36A2#FFFFFF#000000##FFFFFF
##2D36A21.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d36a2;
/* rgb */ color: rgb(45, 54, 162);
/* oklch */ color: oklch(40.1% 0.172 272.2);
Tailwind
colors: {
  custom: {
    50: '#776dbf',
    500: '#2d36a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d36a2;
$custom-light: #776dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36a2",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 235.385,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40083,
    "c": 0.17161,
    "h": 272.2
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#2D36A2
secondary
#BFB96C
accent
#D448E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2D36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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