#2E37B6#2E37B6

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

Color values

HEX#2E37B6
RGBrgb(46, 55, 182)
HSLhsl(236, 60%, 45%)
HSVhsv(236, 75%, 71%)
CMYKcmyk(74.7%, 69.8%, 0%, 28.6%)
CIE-LABlab(31.09, 40.20, -67.74)
CIE-LCHlch(31.09, 78.77, 300.68°)
OKLaboklab(42.25% 0.005 -0.196)
OKLCHoklch(42.25% 0.196 271.4)
XYZxyz(10.9335, 6.6895, 44.9619)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37B6 #B6AD2E
analogous
#2E7BB6 #2E37B6 #692EB6
triadic
#2E37B6 #B62E37 #37B62E
tetradic
#2E37B6 #B62E7B #B6AD2E #2EB669
square
#2E37B6 #B62E7B #B6AD2E #2EB669
split-complementary
#2E37B6 #B6692E #7BB62E
monochromatic
#151954 #222885 #2E37B6 #4F57D2 #8086DF

Accessibility & contrast

On white

8.98
#2E37B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E37B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37B6
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37B6#FFFFFF#000000##FFFFFF
##2E37B61.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e37b6;
/* rgb */ color: rgb(46, 55, 182);
/* oklch */ color: oklch(42.3% 0.196 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c6ecd',
    500: '#2e37b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e37b6;
$custom-light: #7c6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37b6",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 236.029,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.19609,
    "h": 271.4
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#2E37B6
secondary
#C8C278
accent
#D845E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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