#2E37AD#2E37AD

#2E37AD is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.185 H 271.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2E37AD
RGBrgb(46, 55, 173)
HSLhsl(236, 58%, 43%)
HSVhsv(236, 73%, 68%)
CMYKcmyk(73.4%, 68.2%, 0%, 32.2%)
CIE-LABlab(30.23, 37.04, -63.80)
CIE-LCHlch(30.23, 73.77, 300.14°)
OKLaboklab(41.37% 0.006 -0.1845)
OKLCHoklch(41.37% 0.185 271.8)
XYZxyz(10.0332, 6.3293, 40.2200)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37AD #ADA42E
analogous
#2E76AD #2E37AD #642EAD
triadic
#2E37AD #AD2E37 #37AD2E
tetradic
#2E37AD #AD2E76 #ADA42E #2EAD64
square
#2E37AD #AD2E76 #ADA42E #2EAD64
split-complementary
#2E37AD #AD642E #76AD2E
monochromatic
#14184C #21287D #2E37AD #4953CF #7A81DC

Accessibility & contrast

On white

9.27
#2E37AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E37AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37AD
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37AD#FFFFFF#000000##FFFFFF
##2E37AD1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e37ad;
/* rgb */ color: rgb(46, 55, 173);
/* oklch */ color: oklch(41.4% 0.185 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a6ec7',
    500: '#2e37ad',
    950: '#000000',
  },
}
SCSS
$custom: #2e37ad;
$custom-light: #7a6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37ad",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 235.748,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.1846,
    "h": 271.8
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#2E37AD
secondary
#C4BE73
accent
#D647E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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