#2E36B5#2E36B5

#2E36B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.196 H 271.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2E36B5
RGBrgb(46, 54, 181)
HSLhsl(236, 59%, 45%)
HSVhsv(236, 75%, 71%)
CMYKcmyk(74.6%, 70.2%, 0%, 29%)
CIE-LABlab(30.77, 40.46, -67.68)
CIE-LCHlch(30.77, 78.85, 300.87°)
OKLaboklab(41.99% 0.0056 -0.1958)
OKLCHoklch(41.99% 0.196 271.6)
XYZxyz(10.7835, 6.5542, 44.4039)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36B5 #B5AD2E
analogous
#2E7AB5 #2E36B5 #692EB5
triadic
#2E36B5 #B52E36 #36B52E
tetradic
#2E36B5 #B52E7A #B5AD2E #2EB569
square
#2E36B5 #B52E7A #B5AD2E #2EB569
split-complementary
#2E36B5 #B5692E #7AB52E
monochromatic
#151953 #222784 #2E36B5 #4E56D2 #7F85DE

Accessibility & contrast

On white

9.09
#2E36B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E36B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36B5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36B5#FFFFFF#000000##FFFFFF
##2E36B51.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e36b5;
/* rgb */ color: rgb(46, 54, 181);
/* oklch */ color: oklch(42.0% 0.196 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ecc',
    500: '#2e36b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e36b5;
$custom-light: #7c6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36b5",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 236.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.19591,
    "h": 271.6
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#2E36B5
secondary
#C7C278
accent
#D945E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E36B5

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

Preview Lab → · Contrast checker → · Palette generator →

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