#1E2873#1E2873

#1E2873 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.128 H 271.3°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1E2873
RGBrgb(30, 40, 115)
HSLhsl(233, 59%, 28%)
HSVhsv(233, 74%, 45%)
CMYKcmyk(73.9%, 65.2%, 0%, 54.9%)
CIE-LABlab(20.17, 23.47, -44.42)
CIE-LCHlch(20.17, 50.24, 297.85°)
OKLaboklab(32.11% 0.0028 -0.1282)
OKLCHoklch(32.11% 0.128 271.3)
XYZxyz(4.3877, 3.0310, 16.5701)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2873 #73691E
analogous
#1E5273 #1E2873 #3E1E73
triadic
#1E2873 #731E28 #28731E
tetradic
#1E2873 #731E52 #73691E #1E733E
square
#1E2873 #731E52 #73691E #1E733E
split-complementary
#1E2873 #733E1E #52731E
monochromatic
#060818 #111742 #1E2873 #2B39A4 #3F4FCD

Accessibility & contrast

On white

13.07
#1E2873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E2873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2873
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2873#FFFFFF#000000##FFFFFF
##1E28731.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2873;
/* rgb */ color: rgb(30, 40, 115);
/* oklch */ color: oklch(32.1% 0.128 271.3);
Tailwind
colors: {
  custom: {
    50: '#67619c',
    500: '#1e2873',
    950: '#000000',
  },
}
SCSS
$custom: #1e2873;
$custom-light: #67619c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2873",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 232.941,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.12828,
    "h": 271.3
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#1E2873
secondary
#A79C46
accent
#CF46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2873

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

Preview Lab → · Contrast checker → · Palette generator →

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