#2E37D7#2E37D7

#2E37D7 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.6% C 0.236 H 270.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2E37D7
RGBrgb(46, 55, 215)
HSLhsl(237, 68%, 51%)
HSVhsv(237, 79%, 84%)
CMYKcmyk(78.6%, 74.4%, 0%, 15.7%)
CIE-LABlab(34.43, 51.34, -81.52)
CIE-LCHlch(34.43, 96.34, 302.20°)
OKLaboklab(45.64% 0.0004 -0.2361)
OKLCHoklch(45.64% 0.236 270.1)
XYZxyz(14.7545, 8.2178, 65.0854)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37D7 #D7CE2E
analogous
#2E8BD7 #2E37D7 #792ED7
triadic
#2E37D7 #D72E37 #37D72E
tetradic
#2E37D7 #D72E8B #D7CE2E #2ED779
square
#2E37D7 #D72E8B #D7CE2E #2ED779
split-complementary
#2E37D7 #D7792E #8BD72E
monochromatic
#161B74 #2027A8 #2E37D7 #6168E1 #9599EB

Accessibility & contrast

On white

7.94
#2E37D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E37D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37D7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37D7#FFFFFF#000000##FFFFFF
##2E37D71.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e37d7;
/* rgb */ color: rgb(46, 55, 215);
/* oklch */ color: oklch(45.6% 0.236 270.1);
Tailwind
colors: {
  custom: {
    50: '#8470e5',
    500: '#2e37d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e37d7;
$custom-light: #8470e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37d7",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 215
  },
  "hsl": {
    "h": 236.805,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45639,
    "c": 0.23613,
    "h": 270.1
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E37D7

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

Preview Lab → · Contrast checker → · Palette generator →

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