#2D36B8#2D36B8

#2D36B8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.200 H 271.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D36B8
RGBrgb(45, 54, 184)
HSLhsl(236, 61%, 45%)
HSVhsv(236, 76%, 72%)
CMYKcmyk(75.5%, 70.7%, 0%, 27.8%)
CIE-LABlab(31.01, 41.40, -69.06)
CIE-LCHlch(31.01, 80.52, 300.94°)
OKLaboklab(42.24% 0.0042 -0.1999)
OKLCHoklch(42.24% 0.2 271.2)
XYZxyz(11.0501, 6.6557, 46.0404)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D36B8 #B8AF2D
analogous
#2D7CB8 #2D36B8 #692DB8
triadic
#2D36B8 #B82D36 #36B82D
tetradic
#2D36B8 #B82D7C #B8AF2D #2DB869
square
#2D36B8 #B82D7C #B8AF2D #2DB869
split-complementary
#2D36B8 #B8692D #7CB82D
monochromatic
#151956 #212887 #2D36B8 #4E57D4 #8086E0

Accessibility & contrast

On white

9.01
#2D36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D36B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D36B8
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D36B8#FFFFFF#000000##FFFFFF
##2D36B81.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d36b8;
/* rgb */ color: rgb(45, 54, 184);
/* oklch */ color: oklch(42.2% 0.200 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c6ecf',
    500: '#2d36b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d36b8;
$custom-light: #7c6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d36b8",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 236.115,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.19993,
    "h": 271.2
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#2D36B8
secondary
#C9C378
accent
#D944E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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