#1E1F72#1E1F72

#1E1F72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.138 H 273.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1E1F72
RGBrgb(30, 31, 114)
HSLhsl(239, 58%, 28%)
HSVhsv(239, 74%, 45%)
CMYKcmyk(73.7%, 72.8%, 0%, 55.3%)
CIE-LABlab(17.78, 29.18, -47.68)
CIE-LCHlch(17.78, 55.90, 301.47°)
OKLaboklab(30.34% 0.0095 -0.1378)
OKLCHoklch(30.34% 0.138 273.9)
XYZxyz(4.0617, 2.4705, 16.1791)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F72 #72711E
analogous
#1E4972 #1E1F72 #471E72
triadic
#1E1F72 #721E1F #1F721E
tetradic
#1E1F72 #721E49 #72711E #1E7247
square
#1E1F72 #721E49 #72711E #1E7247
split-complementary
#1E1F72 #72471E #49721E
monochromatic
#060718 #111242 #1E1F72 #2B2CA2 #3E40CC

Accessibility & contrast

On white

14.05
#1E1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1E1F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F72
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F72#FFFFFF#000000##FFFFFF
##1E1F721.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1f72;
/* rgb */ color: rgb(30, 31, 114);
/* oklch */ color: oklch(30.3% 0.138 273.9);
Tailwind
colors: {
  custom: {
    50: '#685b9b',
    500: '#1e1f72',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f72;
$custom-light: #685b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f72",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 239.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30344,
    "c": 0.13817,
    "h": 273.9
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#1E1F72
secondary
#A6A546
accent
#E046E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E1F72

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

Preview Lab → · Contrast checker → · Palette generator →

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