#1E1368#1E1368

#1E1368 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.138 H 278.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#1E1368
RGBrgb(30, 19, 104)
HSLhsl(248, 69%, 24%)
HSVhsv(248, 82%, 41%)
CMYKcmyk(71.2%, 81.7%, 0%, 59.2%)
CIE-LABlab(14.06, 32.97, -47.29)
CIE-LCHlch(14.06, 57.65, 304.88°)
OKLaboklab(27.37% 0.0191 -0.1366)
OKLCHoklch(27.37% 0.138 278)
XYZxyz(3.2662, 1.7410, 13.2579)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1368 #5D6813
analogous
#133368 #1E1368 #491368
triadic
#1E1368 #681E13 #13681E
tetradic
#1E1368 #681333 #5D6813 #136849
square
#1E1368 #681333 #5D6813 #136849
split-complementary
#1E1368 #684913 #336813
monochromatic
#07051A #0F0A34 #1E1368 #2D1C9C #3C26CF

Accessibility & contrast

On white

15.58
#1E1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1E1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1368
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1368#FFFFFF#000000##FFFFFF
##1E13681.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e1368;
/* rgb */ color: rgb(30, 19, 104);
/* oklch */ color: oklch(27.4% 0.138 278.0);
Tailwind
colors: {
  custom: {
    50: '#665394',
    500: '#1e1368',
    950: '#000000',
  },
}
SCSS
$custom: #1e1368;
$custom-light: #665394;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1368",
  "rgb": {
    "r": 30,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 247.765,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27371,
    "c": 0.13796,
    "h": 278
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#1E1368
secondary
#929F37
accent
#EC3CD5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1368

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

Preview Lab → · Contrast checker → · Palette generator →

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