#1E155F#1E155F

#1E155F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.124 H 279.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#1E155F
RGBrgb(30, 21, 95)
HSLhsl(247, 64%, 23%)
HSVhsv(247, 78%, 37%)
CMYKcmyk(68.4%, 77.9%, 0%, 62.7%)
CIE-LABlab(13.46, 28.68, -42.32)
CIE-LCHlch(13.46, 51.13, 304.13°)
OKLaboklab(26.64% 0.0201 -0.1221)
OKLCHoklch(26.64% 0.124 279.4)
XYZxyz(2.8685, 1.6383, 10.9893)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E155F #565F15
analogous
#15315F #1E155F #43155F
triadic
#1E155F #5F1E15 #155F1E
tetradic
#1E155F #5F1531 #565F15 #155F43
square
#1E155F #5F1531 #565F15 #155F43
split-complementary
#1E155F #5F4315 #315F15
monochromatic
#080619 #0E0A2D #1E155F #2E2091 #3E2BC3

Accessibility & contrast

On white

15.82
#1E155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E155F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E155F#FFFFFF#000000##FFFFFF
##1E155F1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002561
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e155f;
/* rgb */ color: rgb(30, 21, 95);
/* oklch */ color: oklch(26.6% 0.124 279.4);
Tailwind
colors: {
  custom: {
    50: '#64548d',
    500: '#1e155f',
    950: '#000000',
  },
}
SCSS
$custom: #1e155f;
$custom-light: #64548d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e155f",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 247.297,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26643,
    "c": 0.1238,
    "h": 279.4
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#1E155F
secondary
#8B963A
accent
#E741D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E155F

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

Preview Lab → · Contrast checker → · Palette generator →

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