#1E1B6E#1E1B6E

#1E1B6E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.137 H 275.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1E1B6E
RGBrgb(30, 27, 110)
HSLhsl(242, 61%, 27%)
HSVhsv(242, 75%, 43%)
CMYKcmyk(72.7%, 75.5%, 0%, 56.9%)
CIE-LABlab(16.43, 30.29, -47.32)
CIE-LCHlch(16.43, 56.18, 302.62°)
OKLaboklab(29.25% 0.0128 -0.1368)
OKLCHoklch(29.25% 0.137 275.3)
XYZxyz(3.7409, 2.1853, 14.9735)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B6E #6B6E1B
analogous
#1B426E #1E1B6E #481B6E
triadic
#1E1B6E #6E1E1B #1B6E1E
tetradic
#1E1B6E #6E1B42 #6B6E1B #1B6E48
square
#1E1B6E #6E1B42 #6B6E1B #1B6E48
split-complementary
#1E1B6E #6E481B #426E1B
monochromatic
#070619 #110F3D #1E1B6E #2B279F #3B36CE

Accessibility & contrast

On white

14.61
#1E1B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E1B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B6E
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B6E#FFFFFF#000000##FFFFFF
##1E1B6E1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00256C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1b6e;
/* rgb */ color: rgb(30, 27, 110);
/* oklch */ color: oklch(29.2% 0.137 275.3);
Tailwind
colors: {
  custom: {
    50: '#675899',
    500: '#1e1b6e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b6e;
$custom-light: #675899;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b6e",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 242.169,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29246,
    "c": 0.13736,
    "h": 275.3
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#1E1B6E
secondary
#9FA342
accent
#E444DE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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