#2E36D7#2E36D7

#2E36D7 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.5% C 0.237 H 270.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2E36D7
RGBrgb(46, 54, 215)
HSLhsl(237, 68%, 51%)
HSVhsv(237, 79%, 84%)
CMYKcmyk(78.6%, 74.9%, 0%, 15.7%)
CIE-LABlab(34.24, 51.88, -81.84)
CIE-LCHlch(34.24, 96.90, 302.37°)
OKLaboklab(45.5% 0.0007 -0.237)
OKLCHoklch(45.5% 0.237 270.2)
XYZxyz(14.7074, 8.1238, 65.0697)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E36D7 #D7CF2E
analogous
#2E8AD7 #2E36D7 #7A2ED7
triadic
#2E36D7 #D72E36 #36D72E
tetradic
#2E36D7 #D72E8A #D7CF2E #2ED77A
square
#2E36D7 #D72E8A #D7CF2E #2ED77A
split-complementary
#2E36D7 #D77A2E #8AD72E
monochromatic
#161B74 #2027A8 #2E36D7 #6167E1 #9599EB

Accessibility & contrast

On white

8.00
#2E36D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E36D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E36D7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E36D7#FFFFFF#000000##FFFFFF
##2E36D71.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059DC
Deuteranopia (green-blind)
#0048D4
Tritanopia (blue-blind)
#006684
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e36d7;
/* rgb */ color: rgb(46, 54, 215);
/* oklch */ color: oklch(45.5% 0.237 270.2);
Tailwind
colors: {
  custom: {
    50: '#846fe5',
    500: '#2e36d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e36d7;
$custom-light: #846fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e36d7",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 237.16,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45502,
    "c": 0.23705,
    "h": 270.2
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#2E36D7
secondary
#D6D28B
accent
#E33DEB
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #2E36D7

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

Preview Lab → · Contrast checker → · Palette generator →

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