#2E37AA#2E37AA

#2E37AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.181 H 272.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2E37AA
RGBrgb(46, 55, 170)
HSLhsl(236, 57%, 42%)
HSVhsv(236, 73%, 67%)
CMYKcmyk(72.9%, 67.6%, 0%, 33.3%)
CIE-LABlab(29.95, 35.98, -62.46)
CIE-LCHlch(29.95, 72.08, 299.94°)
OKLaboklab(41.08% 0.0063 -0.1806)
OKLCHoklch(41.08% 0.181 272)
XYZxyz(9.7462, 6.2145, 38.7083)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37AA #AAA12E
analogous
#2E75AA #2E37AA #632EAA
triadic
#2E37AA #AA2E37 #37AA2E
tetradic
#2E37AA #AA2E75 #AAA12E #2EAA63
square
#2E37AA #AA2E75 #AAA12E #2EAA63
split-complementary
#2E37AA #AA632E #75AA2E
monochromatic
#14184A #21277A #2E37AA #4851CD #787FDA

Accessibility & contrast

On white

9.36
#2E37AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E37AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37AA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37AA#FFFFFF#000000##FFFFFF
##2E37AA1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e37aa;
/* rgb */ color: rgb(46, 55, 170);
/* oklch */ color: oklch(41.1% 0.181 272.0);
Tailwind
colors: {
  custom: {
    50: '#796ec4',
    500: '#2e37aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e37aa;
$custom-light: #796ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37aa",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 235.645,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.1807,
    "h": 272
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E37AA

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

Preview Lab → · Contrast checker → · Palette generator →

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