#2E36B2#2E36B2

#2E36B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.192 H 271.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2E36B2
RGBrgb(46, 54, 178)
HSLhsl(236, 59%, 44%)
HSVhsv(236, 74%, 70%)
CMYKcmyk(74.2%, 69.7%, 0%, 30.2%)
CIE-LABlab(30.48, 39.42, -66.37)
CIE-LCHlch(30.48, 77.19, 300.70°)
OKLaboklab(41.69% 0.006 -0.192)
OKLCHoklch(41.69% 0.192 271.8)
XYZxyz(10.4790, 6.4324, 42.8002)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36B2 #B2AA2E
analogous
#2E78B2 #2E36B2 #682EB2
triadic
#2E36B2 #B22E36 #36B22E
tetradic
#2E36B2 #B22E78 #B2AA2E #2EB268
square
#2E36B2 #B22E78 #B2AA2E #2EB268
split-complementary
#2E36B2 #B2682E #78B22E
monochromatic
#151851 #212781 #2E36B2 #4C54D1 #7D83DD

Accessibility & contrast

On white

9.18
#2E36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E36B2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36B2#FFFFFF#000000##FFFFFF
##2E36B21.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e36b2;
/* rgb */ color: rgb(46, 54, 178);
/* oklch */ color: oklch(41.7% 0.192 271.8);
Tailwind
colors: {
  custom: {
    50: '#7b6eca',
    500: '#2e36b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e36b2;
$custom-light: #7b6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36b2",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 236.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.19211,
    "h": 271.8
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#2E36B2
secondary
#C6C176
accent
#D946E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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