#1E156A#1E156A

#1E156A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.139 H 277.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#1E156A
RGBrgb(30, 21, 106)
HSLhsl(246, 67%, 25%)
HSVhsv(246, 80%, 42%)
CMYKcmyk(71.7%, 80.2%, 0%, 58.4%)
CIE-LABlab(14.69, 32.51, -47.57)
CIE-LCHlch(14.69, 57.62, 304.35°)
OKLaboklab(27.88% 0.0174 -0.1374)
OKLCHoklch(27.88% 0.139 277.2)
XYZxyz(3.4043, 1.8527, 13.8111)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E156A #616A15
analogous
#15376A #1E156A #49156A
triadic
#1E156A #6A1E15 #156A1E
tetradic
#1E156A #6A1537 #616A15 #156A49
square
#1E156A #6A1537 #616A15 #156A49
split-complementary
#1E156A #6A4915 #376A15
monochromatic
#07051A #100B37 #1E156A #2C1F9D #3B29D0

Accessibility & contrast

On white

15.32
#1E156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E156A
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E156A#FFFFFF#000000##FFFFFF
##1E156A1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e156a;
/* rgb */ color: rgb(30, 21, 106);
/* oklch */ color: oklch(27.9% 0.139 277.2);
Tailwind
colors: {
  custom: {
    50: '#675496',
    500: '#1e156a',
    950: '#000000',
  },
}
SCSS
$custom: #1e156a;
$custom-light: #675496;
$custom-dark: #000000;
JSON
{
  "hex": "#1e156a",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 246.353,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27882,
    "c": 0.13855,
    "h": 277.2
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#1E156A
secondary
#96A13A
accent
#EA3ED8
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E156A

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

Preview Lab → · Contrast checker → · Palette generator →

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