#1E1B68#1E1B68

#1E1B68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.129 H 276.2°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#1E1B68
RGBrgb(30, 27, 104)
HSLhsl(242, 59%, 26%)
HSVhsv(242, 74%, 41%)
CMYKcmyk(71.2%, 74%, 0%, 59.2%)
CIE-LABlab(15.79, 28.11, -44.44)
CIE-LCHlch(15.79, 52.59, 302.31°)
OKLaboklab(28.6% 0.0139 -0.1284)
OKLCHoklch(28.6% 0.129 276.2)
XYZxyz(3.4252, 2.0591, 13.3109)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B68 #65681B
analogous
#1B3E68 #1E1B68 #441B68
triadic
#1E1B68 #681E1B #1B681E
tetradic
#1E1B68 #681B3E #65681B #1B6844
square
#1E1B68 #681B3E #65681B #1B6844
split-complementary
#1E1B68 #68441B #3E681B
monochromatic
#070618 #100E37 #1E1B68 #2C2899 #3A34C9

Accessibility & contrast

On white

14.87
#1E1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B68
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B68#FFFFFF#000000##FFFFFF
##1E1B681.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e1b68;
/* rgb */ color: rgb(30, 27, 104);
/* oklch */ color: oklch(28.6% 0.129 276.2);
Tailwind
colors: {
  custom: {
    50: '#655894',
    500: '#1e1b68',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b68;
$custom-light: #655894;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b68",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 242.338,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28598,
    "c": 0.12912,
    "h": 276.2
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#1E1B68
secondary
#9A9D42
accent
#E246DC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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