#2E37A9#2E37A9

#2E37A9 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.179 H 272.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2E37A9
RGBrgb(46, 55, 169)
HSLhsl(236, 57%, 42%)
HSVhsv(236, 73%, 66%)
CMYKcmyk(72.8%, 67.5%, 0%, 33.7%)
CIE-LABlab(29.85, 35.62, -62.01)
CIE-LCHlch(29.85, 71.52, 299.88°)
OKLaboklab(40.98% 0.0063 -0.1793)
OKLCHoklch(40.98% 0.179 272)
XYZxyz(9.6519, 6.1768, 38.2120)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E37A9 #A9A02E
analogous
#2E74A9 #2E37A9 #632EA9
triadic
#2E37A9 #A92E37 #37A92E
tetradic
#2E37A9 #A92E74 #A9A02E #2EA963
square
#2E37A9 #A92E74 #A9A02E #2EA963
split-complementary
#2E37A9 #A9632E #74A92E
monochromatic
#141849 #212779 #2E37A9 #4751CD #777FDA

Accessibility & contrast

On white

9.39
#2E37A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E37A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E37A9
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E37A9#FFFFFF#000000##FFFFFF
##2E37A91.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e37a9;
/* rgb */ color: rgb(46, 55, 169);
/* oklch */ color: oklch(41.0% 0.179 272.0);
Tailwind
colors: {
  custom: {
    50: '#796ec4',
    500: '#2e37a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e37a9;
$custom-light: #796ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e37a9",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 235.61,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.17939,
    "h": 272
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#2E37A9
secondary
#C2BC71
accent
#D547E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E37A9

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

Preview Lab → · Contrast checker → · Palette generator →

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