#1E1E8B#1E1E8B

#1E1E8B is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.172 H 271.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1E1E8B
RGBrgb(30, 30, 139)
HSLhsl(240, 64%, 33%)
HSVhsv(240, 78%, 55%)
CMYKcmyk(78.4%, 78.4%, 0%, 45.5%)
CIE-LABlab(20.31, 38.71, -59.39)
CIE-LCHlch(20.31, 70.89, 303.09°)
OKLaboklab(32.96% 0.0055 -0.1719)
OKLCHoklch(32.96% 0.172 271.8)
XYZxyz(5.6583, 3.0680, 24.7151)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E8B #8B8B1E
analogous
#1E548B #1E1E8B #541E8B
triadic
#1E1E8B #8B1E1E #1E8B1E
tetradic
#1E1E8B #8B1E54 #8B8B1E #1E8B54
square
#1E1E8B #8B1E54 #8B8B1E #1E8B54
split-complementary
#1E1E8B #8B541E #548B1E
monochromatic
#080826 #131359 #1E1E8B #2929BD #4B4BD8

Accessibility & contrast

On white

13.01
#1E1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1E1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E8B
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E8B#FFFFFF#000000##FFFFFF
##1E1E8B1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e1e8b;
/* rgb */ color: rgb(30, 30, 139);
/* oklch */ color: oklch(33.0% 0.172 271.8);
Tailwind
colors: {
  custom: {
    50: '#6e5cae',
    500: '#1e1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e8b;
$custom-light: #6e5cae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e8b",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.17202,
    "h": 271.8
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#1E1E8B
secondary
#BBBB4A
accent
#E740E7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1E1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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