#2E37B7#2E37B7

#2E37B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.197 H 271.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2E37B7
RGBrgb(46, 55, 183)
HSLhsl(236, 60%, 45%)
HSVhsv(236, 75%, 72%)
CMYKcmyk(74.9%, 69.9%, 0%, 28.2%)
CIE-LABlab(31.19, 40.55, -68.18)
CIE-LCHlch(31.19, 79.32, 300.74°)
OKLaboklab(42.35% 0.0048 -0.1973)
OKLCHoklch(42.35% 0.197 271.4)
XYZxyz(11.0372, 6.7309, 45.5081)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37B7 #B7AE2E
analogous
#2E7CB7 #2E37B7 #692EB7
triadic
#2E37B7 #B72E37 #37B72E
tetradic
#2E37B7 #B72E7C #B7AE2E #2EB769
square
#2E37B7 #B72E7C #B7AE2E #2EB769
split-complementary
#2E37B7 #B7692E #7CB72E
monochromatic
#151A55 #222886 #2E37B7 #4F58D3 #8086DF

Accessibility & contrast

On white

8.95
#2E37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E37B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37B7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37B7#FFFFFF#000000##FFFFFF
##2E37B71.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e37b7;
/* rgb */ color: rgb(46, 55, 183);
/* oklch */ color: oklch(42.4% 0.197 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c6ece',
    500: '#2e37b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e37b7;
$custom-light: #7c6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37b7",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 236.058,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.19735,
    "h": 271.4
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#2E37B7
secondary
#C8C379
accent
#D945E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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