#1E37A7#1E37A7

#1E37A7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.181 H 267.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1E37A7
RGBrgb(30, 55, 167)
HSLhsl(229, 70%, 39%)
HSVhsv(229, 82%, 65%)
CMYKcmyk(82%, 67.1%, 0%, 34.5%)
CIE-LABlab(28.90, 33.31, -62.41)
CIE-LCHlch(28.90, 70.75, 298.09°)
OKLaboklab(40.02% -0.009 -0.1808)
OKLCHoklch(40.02% 0.181 267.2)
XYZxyz(8.8742, 5.7974, 37.2030)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E37A7 #A78E1E
analogous
#1E7BA7 #1E37A7 #491EA7
triadic
#1E37A7 #A71E37 #37A71E
tetradic
#1E37A7 #A71E7B #A78E1E #1EA749
square
#1E37A7 #A71E7B #A78E1E #1EA749
split-complementary
#1E37A7 #A7491E #7BA71E
monochromatic
#0B153F #152673 #1E37A7 #2A49D9 #5D76E2

Accessibility & contrast

On white

9.72
#1E37A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1E37A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E37A7
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E37A7#FFFFFF#000000##FFFFFF
##1E37A71.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e37a7;
/* rgb */ color: rgb(30, 55, 167);
/* oklch */ color: oklch(40.0% 0.181 267.2);
Tailwind
colors: {
  custom: {
    50: '#736dc2',
    500: '#1e37a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e37a7;
$custom-light: #736dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e37a7",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 229.051,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.181,
    "h": 267.2
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#1E37A7
secondary
#C6B35B
accent
#CC3BEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1E37A7

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

Preview Lab → · Contrast checker → · Palette generator →

#1E37A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva