#2E37B4#2E37B4

#2E37B4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.194 H 271.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2E37B4
RGBrgb(46, 55, 180)
HSLhsl(236, 59%, 44%)
HSVhsv(236, 74%, 71%)
CMYKcmyk(74.4%, 69.4%, 0%, 29.4%)
CIE-LABlab(30.90, 39.50, -66.88)
CIE-LCHlch(30.90, 77.67, 300.57°)
OKLaboklab(42.05% 0.0052 -0.1935)
OKLCHoklch(42.05% 0.194 271.5)
XYZxyz(10.7283, 6.6074, 43.8811)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37B4 #B4AB2E
analogous
#2E7AB4 #2E37B4 #682EB4
triadic
#2E37B4 #B42E37 #37B42E
tetradic
#2E37B4 #B42E7A #B4AB2E #2EB468
square
#2E37B4 #B42E7A #B4AB2E #2EB468
split-complementary
#2E37B4 #B4682E #7AB42E
monochromatic
#151953 #222883 #2E37B4 #4E56D2 #7E85DE

Accessibility & contrast

On white

9.04
#2E37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E37B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37B4
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37B4#FFFFFF#000000##FFFFFF
##2E37B41.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e37b4;
/* rgb */ color: rgb(46, 55, 180);
/* oklch */ color: oklch(42.1% 0.194 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c6ecc',
    500: '#2e37b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e37b4;
$custom-light: #7c6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37b4",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 235.97,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.19356,
    "h": 271.5
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#2E37B4
secondary
#C7C177
accent
#D845E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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