#1E37A8#1E37A8

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

Color values

HEX#1E37A8
RGBrgb(30, 55, 168)
HSLhsl(229, 70%, 39%)
HSVhsv(229, 82%, 66%)
CMYKcmyk(82.1%, 67.3%, 0%, 34.1%)
CIE-LABlab(28.99, 33.69, -62.86)
CIE-LCHlch(28.99, 71.32, 298.19°)
OKLaboklab(40.11% -0.009 -0.1821)
OKLCHoklch(40.11% 0.182 267.2)
XYZxyz(8.9670, 5.8345, 37.6918)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E37A8 #A88F1E
analogous
#1E7CA8 #1E37A8 #4A1EA8
triadic
#1E37A8 #A81E37 #37A81E
tetradic
#1E37A8 #A81E7C #A88F1E #1EA84A
square
#1E37A8 #A81E7C #A88F1E #1EA84A
split-complementary
#1E37A8 #A84A1E #7CA81E
monochromatic
#0B1540 #152674 #1E37A8 #2A4AD9 #5E76E2

Accessibility & contrast

On white

9.69
#1E37A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1E37A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E37A8
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E37A8#FFFFFF#000000##FFFFFF
##1E37A81.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1e37a8;
/* rgb */ color: rgb(30, 55, 168);
/* oklch */ color: oklch(40.1% 0.182 267.2);
Tailwind
colors: {
  custom: {
    50: '#746ec3',
    500: '#1e37a8',
    950: '#000000',
  },
}
SCSS
$custom: #1e37a8;
$custom-light: #746ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e37a8",
  "rgb": {
    "r": 30,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 229.13,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40114,
    "c": 0.1823,
    "h": 267.2
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#1E37A8
secondary
#C7B35B
accent
#CC3BED
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1E37A8

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

Preview Lab → · Contrast checker → · Palette generator →

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