#2E37B1#2E37B1

#2E37B1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.190 H 271.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2E37B1
RGBrgb(46, 55, 177)
HSLhsl(236, 59%, 44%)
HSVhsv(236, 74%, 69%)
CMYKcmyk(74%, 68.9%, 0%, 30.6%)
CIE-LABlab(30.61, 38.45, -65.56)
CIE-LCHlch(30.61, 76.01, 300.39°)
OKLaboklab(41.76% 0.0055 -0.1897)
OKLCHoklch(41.76% 0.19 271.7)
XYZxyz(10.4260, 6.4865, 42.2890)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37B1 #B1A82E
analogous
#2E78B1 #2E37B1 #662EB1
triadic
#2E37B1 #B12E37 #37B12E
tetradic
#2E37B1 #B12E78 #B1A82E #2EB166
square
#2E37B1 #B12E78 #B1A82E #2EB166
split-complementary
#2E37B1 #B1662E #78B12E
monochromatic
#151950 #212880 #2E37B1 #4C55D0 #7C83DD

Accessibility & contrast

On white

9.14
#2E37B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E37B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37B1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37B1#FFFFFF#000000##FFFFFF
##2E37B11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e37b1;
/* rgb */ color: rgb(46, 55, 177);
/* oklch */ color: oklch(41.8% 0.190 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b6ec9',
    500: '#2e37b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e37b1;
$custom-light: #7b6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37b1",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 235.878,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41758,
    "c": 0.18974,
    "h": 271.7
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#2E37B1
secondary
#C6C075
accent
#D746E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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