#2D36B3#2D36B3

#2D36B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.194 H 271.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2D36B3
RGBrgb(45, 54, 179)
HSLhsl(236, 60%, 44%)
HSVhsv(236, 75%, 70%)
CMYKcmyk(74.9%, 69.8%, 0%, 29.8%)
CIE-LABlab(30.52, 39.66, -66.90)
CIE-LCHlch(30.52, 77.78, 300.66°)
OKLaboklab(41.74% 0.0048 -0.1936)
OKLCHoklch(41.74% 0.194 271.4)
XYZxyz(10.5353, 6.4498, 43.3288)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36B3 #B3AA2D
analogous
#2D79B3 #2D36B3 #672DB3
triadic
#2D36B3 #B32D36 #36B32D
tetradic
#2D36B3 #B32D79 #B3AA2D #2DB367
square
#2D36B3 #B32D79 #B3AA2D #2DB367
split-complementary
#2D36B3 #B3672D #79B32D
monochromatic
#141851 #212782 #2D36B3 #4B54D2 #7C83DE

Accessibility & contrast

On white

9.17
#2D36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D36B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36B3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36B3#FFFFFF#000000##FFFFFF
##2D36B31.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d36b3;
/* rgb */ color: rgb(45, 54, 179);
/* oklch */ color: oklch(41.7% 0.194 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b6ecb',
    500: '#2d36b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d36b3;
$custom-light: #7b6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36b3",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 235.97,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41738,
    "c": 0.19365,
    "h": 271.4
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#2D36B3
secondary
#C7C175
accent
#D845E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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