#1E155B#1E155B

#1E155B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.118 H 280.2°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#1E155B
RGBrgb(30, 21, 91)
HSLhsl(248, 63%, 22%)
HSVhsv(248, 77%, 36%)
CMYKcmyk(67%, 76.9%, 0%, 64.3%)
CIE-LABlab(13.03, 27.26, -40.35)
CIE-LCHlch(13.03, 48.70, 304.05°)
OKLaboklab(26.21% 0.021 -0.1164)
OKLCHoklch(26.21% 0.118 280.2)
XYZxyz(2.6913, 1.5675, 10.0562)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E155B #525B15
analogous
#152F5B #1E155B #41155B
triadic
#1E155B #5B1E15 #155B1E
tetradic
#1E155B #5B152F #525B15 #155B41
square
#1E155B #5B152F #525B15 #155B41
split-complementary
#1E155B #5B4115 #2F5B15
monochromatic
#080619 #0E0A29 #1E155B #2E208D #3F2CBE

Accessibility & contrast

On white

15.99
#1E155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E155B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E155B#FFFFFF#000000##FFFFFF
##1E155B1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e155b;
/* rgb */ color: rgb(30, 21, 91);
/* oklch */ color: oklch(26.2% 0.118 280.2);
Tailwind
colors: {
  custom: {
    50: '#63538a',
    500: '#1e155b',
    950: '#000000',
  },
}
SCSS
$custom: #1e155b;
$custom-light: #63538a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e155b",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 247.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26206,
    "c": 0.11828,
    "h": 280.2
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#1E155B
secondary
#879239
accent
#E642D1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E155B

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

Preview Lab → · Contrast checker → · Palette generator →

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