#1E0F71#1E0F71

#1E0F71 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.153 H 276.9°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#1E0F71
RGBrgb(30, 15, 113)
HSLhsl(249, 77%, 25%)
HSVhsv(249, 87%, 44%)
CMYKcmyk(73.5%, 86.7%, 0%, 55.7%)
CIE-LABlab(14.45, 37.97, -52.53)
CIE-LCHlch(14.45, 64.82, 305.86°)
OKLaboklab(27.96% 0.0183 -0.1518)
OKLCHoklch(27.96% 0.153 276.9)
XYZxyz(3.6859, 1.8096, 15.7746)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0F71 #62710F
analogous
#0F3171 #1E0F71 #4F0F71
triadic
#1E0F71 #711E0F #0F711E
tetradic
#1E0F71 #710F31 #62710F #0F714F
square
#1E0F71 #710F31 #62710F #0F714F
split-complementary
#1E0F71 #714F0F #31710F
monochromatic
#07041B #10083B #1E0F71 #2C16A7 #3B1DDD

Accessibility & contrast

On white

15.42
#1E0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E0F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0F71
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0F71#FFFFFF#000000##FFFFFF
##1E0F711.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e0f71;
/* rgb */ color: rgb(30, 15, 113);
/* oklch */ color: oklch(28.0% 0.153 276.9);
Tailwind
colors: {
  custom: {
    50: '#69519b',
    500: '#1e0f71',
    950: '#000000',
  },
}
SCSS
$custom: #1e0f71;
$custom-light: #69519b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0f71",
  "rgb": {
    "r": 30,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 249.184,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27963,
    "c": 0.1529,
    "h": 276.9
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#1E0F71
secondary
#97A933
accent
#F335D6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1E0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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