#1E0F72#1E0F72

#1E0F72 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.1% C 0.154 H 276.7°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#1E0F72
RGBrgb(30, 15, 114)
HSLhsl(249, 77%, 25%)
HSVhsv(249, 87%, 45%)
CMYKcmyk(73.7%, 86.8%, 0%, 55.3%)
CIE-LABlab(14.58, 38.29, -52.97)
CIE-LCHlch(14.58, 65.36, 305.86°)
OKLaboklab(28.09% 0.0179 -0.1531)
OKLCHoklch(28.09% 0.154 276.7)
XYZxyz(3.7425, 1.8322, 16.0727)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F72 #63720F
analogous
#0F3172 #1E0F72 #4F0F72
triadic
#1E0F72 #721E0F #0F721E
tetradic
#1E0F72 #720F31 #63720F #0F724F
square
#1E0F72 #720F31 #63720F #0F724F
split-complementary
#1E0F72 #724F0F #31720F
monochromatic
#07041B #10083C #1E0F72 #2C16A8 #3A1DDE

Accessibility & contrast

On white

15.37
#1E0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E0F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0F72
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F72#FFFFFF#000000##FFFFFF
##1E0F721.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e0f72;
/* rgb */ color: rgb(30, 15, 114);
/* oklch */ color: oklch(28.1% 0.154 276.7);
Tailwind
colors: {
  custom: {
    50: '#69529c',
    500: '#1e0f72',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f72;
$custom-light: #69529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f72",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 249.091,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28087,
    "c": 0.15412,
    "h": 276.7
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#1E0F72
secondary
#98AA33
accent
#F335D6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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