#1E155E#1E155E

#1E155E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.122 H 279.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#1E155E
RGBrgb(30, 21, 94)
HSLhsl(247, 63%, 23%)
HSVhsv(247, 78%, 37%)
CMYKcmyk(68.1%, 77.7%, 0%, 63.1%)
CIE-LABlab(13.35, 28.33, -41.83)
CIE-LCHlch(13.35, 50.52, 304.10°)
OKLaboklab(26.53% 0.0204 -0.1207)
OKLCHoklch(26.53% 0.122 279.6)
XYZxyz(2.8233, 1.6203, 10.7515)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E155E #555E15
analogous
#15315E #1E155E #42155E
triadic
#1E155E #5E1E15 #155E1E
tetradic
#1E155E #5E1531 #555E15 #155E42
square
#1E155E #5E1531 #555E15 #155E42
split-complementary
#1E155E #5E4215 #315E15
monochromatic
#080619 #0E0A2C #1E155E #2E2090 #3E2BC2

Accessibility & contrast

On white

15.86
#1E155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E155E
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E155E#FFFFFF#000000##FFFFFF
##1E155E1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e155e;
/* rgb */ color: rgb(30, 21, 94);
/* oklch */ color: oklch(26.5% 0.122 279.6);
Tailwind
colors: {
  custom: {
    50: '#64548c',
    500: '#1e155e',
    950: '#000000',
  },
}
SCSS
$custom: #1e155e;
$custom-light: #64548c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e155e",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 247.397,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26533,
    "c": 0.12242,
    "h": 279.6
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#1E155E
secondary
#8A9539
accent
#E741D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E155E

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

Preview Lab → · Contrast checker → · Palette generator →

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