#2E37A0#2E37A0

#2E37A0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.167 H 272.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2E37A0
RGBrgb(46, 55, 160)
HSLhsl(235, 55%, 40%)
HSVhsv(235, 71%, 63%)
CMYKcmyk(71.2%, 65.6%, 0%, 37.3%)
CIE-LABlab(29.03, 32.40, -57.93)
CIE-LCHlch(29.03, 66.38, 299.22°)
OKLaboklab(40.13% 0.0071 -0.1673)
OKLCHoklch(40.13% 0.167 272.4)
XYZxyz(8.8359, 5.8504, 33.9145)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37A0 #A0972E
analogous
#2E70A0 #2E37A0 #5E2EA0
triadic
#2E37A0 #A02E37 #37A02E
tetradic
#2E37A0 #A02E70 #A0972E #2EA05E
square
#2E37A0 #A02E70 #A0972E #2EA05E
split-complementary
#2E37A0 #A05E2E #70A02E
monochromatic
#131641 #202770 #2E37A0 #424DC9 #727AD6

Accessibility & contrast

On white

9.68
#2E37A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E37A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37A0
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37A0#FFFFFF#000000##FFFFFF
##2E37A01.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e37a0;
/* rgb */ color: rgb(46, 55, 160);
/* oklch */ color: oklch(40.1% 0.167 272.4);
Tailwind
colors: {
  custom: {
    50: '#776ebd',
    500: '#2e37a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e37a0;
$custom-light: #776ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37a0",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 235.263,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4013,
    "c": 0.16748,
    "h": 272.4
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#2E37A0
secondary
#BEB86C
accent
#D349DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E37A0

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

Preview Lab → · Contrast checker → · Palette generator →

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