#1E2973#1E2973

#1E2973 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.127 H 270.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1E2973
RGBrgb(30, 41, 115)
HSLhsl(232, 59%, 28%)
HSVhsv(232, 74%, 45%)
CMYKcmyk(73.9%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.44, 22.77, -43.98)
CIE-LCHlch(20.44, 49.53, 297.37°)
OKLaboklab(32.31% 0.002 -0.1269)
OKLCHoklch(32.31% 0.127 270.9)
XYZxyz(4.4218, 3.0993, 16.5815)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2973 #73681E
analogous
#1E5373 #1E2973 #3D1E73
triadic
#1E2973 #731E29 #29731E
tetradic
#1E2973 #731E53 #73681E #1E733D
square
#1E2973 #731E53 #73681E #1E733D
split-complementary
#1E2973 #733D1E #53731E
monochromatic
#060918 #111842 #1E2973 #2B3AA4 #3F51CD

Accessibility & contrast

On white

12.96
#1E2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2973
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2973#FFFFFF#000000##FFFFFF
##1E29731.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2973;
/* rgb */ color: rgb(30, 41, 115);
/* oklch */ color: oklch(32.3% 0.127 270.9);
Tailwind
colors: {
  custom: {
    50: '#67629c',
    500: '#1e2973',
    950: '#000000',
  },
}
SCSS
$custom: #1e2973;
$custom-light: #67629c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2973",
  "rgb": {
    "r": 30,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 232.235,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32309,
    "c": 0.12697,
    "h": 270.9
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#1E2973
secondary
#A79A46
accent
#CE46E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1E2973

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

Preview Lab → · Contrast checker → · Palette generator →

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