#2E37AE#2E37AE

#2E37AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.186 H 271.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2E37AE
RGBrgb(46, 55, 174)
HSLhsl(236, 58%, 43%)
HSVhsv(236, 74%, 68%)
CMYKcmyk(73.6%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.32, 37.40, -64.24)
CIE-LCHlch(30.32, 74.33, 300.20°)
OKLaboklab(41.47% 0.0058 -0.1858)
OKLCHoklch(41.47% 0.186 271.8)
XYZxyz(10.1303, 6.3682, 40.7315)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37AE #AEA52E
analogous
#2E77AE #2E37AE #652EAE
triadic
#2E37AE #AE2E37 #37AE2E
tetradic
#2E37AE #AE2E77 #AEA52E #2EAE65
square
#2E37AE #AE2E77 #AEA52E #2EAE65
split-complementary
#2E37AE #AE652E #77AE2E
monochromatic
#14184D #21287E #2E37AE #4A53CF #7A81DC

Accessibility & contrast

On white

9.24
#2E37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E37AE
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37AE#FFFFFF#000000##FFFFFF
##2E37AE1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e37ae;
/* rgb */ color: rgb(46, 55, 174);
/* oklch */ color: oklch(41.5% 0.186 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a6ec7',
    500: '#2e37ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e37ae;
$custom-light: #7a6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37ae",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 235.781,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.18588,
    "h": 271.8
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#2E37AE
secondary
#C4BF74
accent
#D746E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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