#1E1867#1E1867

#1E1867 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.131 H 277.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#1E1867
RGBrgb(30, 24, 103)
HSLhsl(245, 62%, 25%)
HSVhsv(245, 77%, 40%)
CMYKcmyk(70.9%, 76.7%, 0%, 59.6%)
CIE-LABlab(15.00, 29.66, -45.10)
CIE-LCHlch(15.00, 53.97, 303.33°)
OKLaboklab(28% 0.0162 -0.1303)
OKLCHoklch(28% 0.131 277.1)
XYZxyz(3.3094, 1.9083, 13.0233)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1867 #616718
analogous
#183A67 #1E1867 #461867
triadic
#1E1867 #671E18 #18671E
tetradic
#1E1867 #67183A #616718 #186746
square
#1E1867 #67183A #616718 #186746
split-complementary
#1E1867 #674618 #3A6718
monochromatic
#070619 #100C35 #1E1867 #2C2499 #3B2FCA

Accessibility & contrast

On white

15.20
#1E1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1867
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1867#FFFFFF#000000##FFFFFF
##1E18671.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1867;
/* rgb */ color: rgb(30, 24, 103);
/* oklch */ color: oklch(28.0% 0.131 277.1);
Tailwind
colors: {
  custom: {
    50: '#665693',
    500: '#1e1867',
    950: '#000000',
  },
}
SCSS
$custom: #1e1867;
$custom-light: #665693;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1867",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 244.557,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27997,
    "c": 0.13126,
    "h": 277.1
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#1E1867
secondary
#969D3E
accent
#E543D9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1867

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

Preview Lab → · Contrast checker → · Palette generator →

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