#1E2173#1E2173

#1E2173 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.137 H 273.3°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#1E2173
RGBrgb(30, 33, 115)
HSLhsl(238, 59%, 28%)
HSVhsv(238, 74%, 45%)
CMYKcmyk(73.9%, 71.3%, 0%, 54.9%)
CIE-LABlab(18.37, 28.24, -47.37)
CIE-LCHlch(18.37, 55.15, 300.80°)
OKLaboklab(30.8% 0.008 -0.1369)
OKLCHoklch(30.8% 0.137 273.3)
XYZxyz(4.1728, 2.6011, 16.4985)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2173 #73701E
analogous
#1E4B73 #1E2173 #451E73
triadic
#1E2173 #731E21 #21731E
tetradic
#1E2173 #731E4B #73701E #1E7345
square
#1E2173 #731E4B #73701E #1E7345
split-complementary
#1E2173 #73451E #4B731E
monochromatic
#060718 #111342 #1E2173 #2B2FA4 #3F44CD

Accessibility & contrast

On white

13.81
#1E2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2173
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2173#FFFFFF#000000##FFFFFF
##1E21731.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e2173;
/* rgb */ color: rgb(30, 33, 115);
/* oklch */ color: oklch(30.8% 0.137 273.3);
Tailwind
colors: {
  custom: {
    50: '#685c9c',
    500: '#1e2173',
    950: '#000000',
  },
}
SCSS
$custom: #1e2173;
$custom-light: #685c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2173",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 237.882,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30797,
    "c": 0.13714,
    "h": 273.3
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#1E2173
secondary
#A7A446
accent
#DC46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E2173

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

Preview Lab → · Contrast checker → · Palette generator →

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