#1E155D#1E155D

#1E155D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.121 H 279.8°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1E155D
RGBrgb(30, 21, 93)
HSLhsl(248, 63%, 22%)
HSVhsv(248, 77%, 36%)
CMYKcmyk(67.7%, 77.4%, 0%, 63.5%)
CIE-LABlab(13.24, 27.97, -41.34)
CIE-LCHlch(13.24, 49.92, 304.09°)
OKLaboklab(26.42% 0.0206 -0.1193)
OKLCHoklch(26.42% 0.121 279.8)
XYZxyz(2.7787, 1.6024, 10.5167)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E155D #545D15
analogous
#15305D #1E155D #42155D
triadic
#1E155D #5D1E15 #155D1E
tetradic
#1E155D #5D1530 #545D15 #155D42
square
#1E155D #5D1530 #545D15 #155D42
split-complementary
#1E155D #5D4215 #305D15
monochromatic
#080619 #0E0A2B #1E155D #2E208F #3E2CC1

Accessibility & contrast

On white

15.90
#1E155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E155D
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E155D#FFFFFF#000000##FFFFFF
##1E155D1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e155d;
/* rgb */ color: rgb(30, 21, 93);
/* oklch */ color: oklch(26.4% 0.121 279.8);
Tailwind
colors: {
  custom: {
    50: '#63538c',
    500: '#1e155d',
    950: '#000000',
  },
}
SCSS
$custom: #1e155d;
$custom-light: #63538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e155d",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 247.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26423,
    "c": 0.12104,
    "h": 279.8
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#1E155D
secondary
#899439
accent
#E642D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E155D

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

Preview Lab → · Contrast checker → · Palette generator →

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