#2E37AF#2E37AF

#2E37AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.187 H 271.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2E37AF
RGBrgb(46, 55, 175)
HSLhsl(236, 58%, 43%)
HSVhsv(236, 74%, 69%)
CMYKcmyk(73.7%, 68.6%, 0%, 31.4%)
CIE-LABlab(30.42, 37.75, -64.68)
CIE-LCHlch(30.42, 74.89, 300.27°)
OKLaboklab(41.56% 0.0057 -0.1871)
OKLCHoklch(41.56% 0.187 271.8)
XYZxyz(10.2281, 6.4073, 41.2468)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37AF #AFA62E
analogous
#2E77AF #2E37AF #652EAF
triadic
#2E37AF #AF2E37 #37AF2E
tetradic
#2E37AF #AF2E77 #AFA62E #2EAF65
square
#2E37AF #AF2E77 #AFA62E #2EAF65
split-complementary
#2E37AF #AF652E #77AF2E
monochromatic
#15194E #21287F #2E37AF #4B54D0 #7B82DC

Accessibility & contrast

On white

9.20
#2E37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37AF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37AF#FFFFFF#000000##FFFFFF
##2E37AF1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e37af;
/* rgb */ color: rgb(46, 55, 175);
/* oklch */ color: oklch(41.6% 0.187 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a6ec8',
    500: '#2e37af',
    950: '#000000',
  },
}
SCSS
$custom: #2e37af;
$custom-light: #7a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37af",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 235.814,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.18717,
    "h": 271.8
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#2E37AF
secondary
#C5BF74
accent
#D746E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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