#2E37AB#2E37AB

#2E37AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.182 H 271.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2E37AB
RGBrgb(46, 55, 171)
HSLhsl(236, 58%, 43%)
HSVhsv(236, 73%, 67%)
CMYKcmyk(73.1%, 67.8%, 0%, 32.9%)
CIE-LABlab(30.04, 36.33, -62.91)
CIE-LCHlch(30.04, 72.65, 300.01°)
OKLaboklab(41.17% 0.0062 -0.1819)
OKLCHoklch(41.17% 0.182 271.9)
XYZxyz(9.8411, 6.2525, 39.2084)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37AB #ABA22E
analogous
#2E75AB #2E37AB #632EAB
triadic
#2E37AB #AB2E37 #37AB2E
tetradic
#2E37AB #AB2E75 #ABA22E #2EAB63
square
#2E37AB #AB2E75 #ABA22E #2EAB63
split-complementary
#2E37AB #AB632E #75AB2E
monochromatic
#14184B #21277B #2E37AB #4852CE #7980DB

Accessibility & contrast

On white

9.33
#2E37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37AB
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37AB#FFFFFF#000000##FFFFFF
##2E37AB1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e37ab;
/* rgb */ color: rgb(46, 55, 171);
/* oklch */ color: oklch(41.2% 0.182 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a6ec5',
    500: '#2e37ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e37ab;
$custom-light: #7a6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37ab",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 235.68,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.182,
    "h": 271.9
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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