#1E1972#1E1972

#1E1972 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.145 H 275.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1E1972
RGBrgb(30, 25, 114)
HSLhsl(243, 64%, 27%)
HSVhsv(243, 78%, 45%)
CMYKcmyk(73.7%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.43, 32.94, -49.91)
CIE-LCHlch(16.43, 59.80, 303.43°)
OKLaboklab(29.38% 0.0132 -0.1443)
OKLCHoklch(29.38% 0.145 275.2)
XYZxyz(3.9193, 2.1858, 16.1317)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1972 #6D7219
analogous
#194072 #1E1972 #4B1972
triadic
#1E1972 #721E19 #19721E
tetradic
#1E1972 #721940 #6D7219 #19724B
square
#1E1972 #721940 #6D7219 #19724B
split-complementary
#1E1972 #724B19 #407219
monochromatic
#070619 #110E40 #1E1972 #2B24A4 #3C33D2

Accessibility & contrast

On white

14.61
#1E1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1972
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1972#FFFFFF#000000##FFFFFF
##1E19721.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1972;
/* rgb */ color: rgb(30, 25, 114);
/* oklch */ color: oklch(29.4% 0.145 275.2);
Tailwind
colors: {
  custom: {
    50: '#68579c',
    500: '#1e1972',
    950: '#000000',
  },
}
SCSS
$custom: #1e1972;
$custom-light: #68579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1972",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 243.371,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.2938,
    "c": 0.1449,
    "h": 275.2
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#1E1972
secondary
#A1A740
accent
#E741DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1972

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

Preview Lab → · Contrast checker → · Palette generator →

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