#1E2371#1E2371

#1E2371 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.132 H 273.0°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1E2371
RGBrgb(30, 35, 113)
HSLhsl(236, 58%, 28%)
HSVhsv(236, 73%, 44%)
CMYKcmyk(73.5%, 69%, 0%, 55.7%)
CIE-LABlab(18.67, 26.14, -45.58)
CIE-LCHlch(18.67, 52.55, 299.84°)
OKLaboklab(30.95% 0.0068 -0.1317)
OKLCHoklch(30.95% 0.132 273)
XYZxyz(4.1161, 2.6699, 15.9180)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2371 #716C1E
analogous
#1E4C71 #1E2371 #431E71
triadic
#1E2371 #711E23 #23711E
tetradic
#1E2371 #711E4C #716C1E #1E7143
square
#1E2371 #711E4C #716C1E #1E7143
split-complementary
#1E2371 #71431E #4C711E
monochromatic
#060718 #111441 #1E2371 #2B32A1 #3E46CC

Accessibility & contrast

On white

13.69
#1E2371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E2371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2371
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2371#FFFFFF#000000##FFFFFF
##1E23711.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e2371;
/* rgb */ color: rgb(30, 35, 113);
/* oklch */ color: oklch(31.0% 0.132 273.0);
Tailwind
colors: {
  custom: {
    50: '#675e9b',
    500: '#1e2371',
    950: '#000000',
  },
}
SCSS
$custom: #1e2371;
$custom-light: #675e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2371",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 236.386,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30954,
    "c": 0.13186,
    "h": 273
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#1E2371
secondary
#A59F46
accent
#D847E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2371

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

Preview Lab → · Contrast checker → · Palette generator →

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