#2E37AC#2E37AC

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

Color values

HEX#2E37AC
RGBrgb(46, 55, 172)
HSLhsl(236, 58%, 43%)
HSVhsv(236, 73%, 67%)
CMYKcmyk(73.3%, 68%, 0%, 32.5%)
CIE-LABlab(30.13, 36.69, -63.35)
CIE-LCHlch(30.13, 73.21, 300.08°)
OKLaboklab(41.27% 0.0061 -0.1832)
OKLCHoklch(41.27% 0.183 271.9)
XYZxyz(9.9368, 6.2908, 39.7123)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37AC #ACA32E
analogous
#2E76AC #2E37AC #642EAC
triadic
#2E37AC #AC2E37 #37AC2E
tetradic
#2E37AC #AC2E76 #ACA32E #2EAC64
square
#2E37AC #AC2E76 #ACA32E #2EAC64
split-complementary
#2E37AC #AC642E #76AC2E
monochromatic
#14184B #21287C #2E37AC #4952CE #7980DB

Accessibility & contrast

On white

9.30
#2E37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2E37AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37AC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37AC#FFFFFF#000000##FFFFFF
##2E37AC1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e37ac;
/* rgb */ color: rgb(46, 55, 172);
/* oklch */ color: oklch(41.3% 0.183 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a6ec6',
    500: '#2e37ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e37ac;
$custom-light: #7a6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37ac",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 235.714,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.1833,
    "h": 271.9
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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