#1E1F73#1E1F73

#1E1F73 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.140 H 273.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1E1F73
RGBrgb(30, 31, 115)
HSLhsl(239, 59%, 28%)
HSVhsv(239, 74%, 45%)
CMYKcmyk(73.9%, 73%, 0%, 54.9%)
CIE-LABlab(17.89, 29.55, -48.16)
CIE-LCHlch(17.89, 56.50, 301.54°)
OKLaboklab(30.45% 0.0093 -0.1392)
OKLCHoklch(30.45% 0.14 273.8)
XYZxyz(4.1189, 2.4934, 16.4805)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F73 #73721E
analogous
#1E4973 #1E1F73 #471E73
triadic
#1E1F73 #731E1F #1F731E
tetradic
#1E1F73 #731E49 #73721E #1E7347
square
#1E1F73 #731E49 #73721E #1E7347
split-complementary
#1E1F73 #73471E #49731E
monochromatic
#060718 #111242 #1E1F73 #2B2CA4 #3F40CD

Accessibility & contrast

On white

14.01
#1E1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F73
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F73#FFFFFF#000000##FFFFFF
##1E1F731.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1f73;
/* rgb */ color: rgb(30, 31, 115);
/* oklch */ color: oklch(30.4% 0.140 273.8);
Tailwind
colors: {
  custom: {
    50: '#685b9c',
    500: '#1e1f73',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f73;
$custom-light: #685b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f73",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 239.294,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3045,
    "c": 0.13954,
    "h": 273.8
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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