#1E156E#1E156E

#1E156E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.144 H 276.5°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#1E156E
RGBrgb(30, 21, 110)
HSLhsl(246, 68%, 26%)
HSVhsv(246, 81%, 43%)
CMYKcmyk(72.7%, 80.9%, 0%, 56.9%)
CIE-LABlab(15.16, 33.88, -49.42)
CIE-LCHlch(15.16, 59.92, 304.44°)
OKLaboklab(28.35% 0.0164 -0.1428)
OKLCHoklch(28.35% 0.144 276.5)
XYZxyz(3.6171, 1.9378, 14.9322)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E156E #656E15
analogous
#15396E #1E156E #4A156E
triadic
#1E156E #6E1E15 #156E1E
tetradic
#1E156E #6E1539 #656E15 #156E4A
square
#1E156E #6E1539 #656E15 #156E4A
split-complementary
#1E156E #6E4A15 #396E15
monochromatic
#07051A #100B3B #1E156E #2C1FA1 #3A29D5

Accessibility & contrast

On white

15.13
#1E156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E156E
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E156E#FFFFFF#000000##FFFFFF
##1E156E1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e156e;
/* rgb */ color: rgb(30, 21, 110);
/* oklch */ color: oklch(28.3% 0.144 276.5);
Tailwind
colors: {
  custom: {
    50: '#685499',
    500: '#1e156e',
    950: '#000000',
  },
}
SCSS
$custom: #1e156e;
$custom-light: #685499;
$custom-dark: #000000;
JSON
{
  "hex": "#1e156e",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 246.067,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28345,
    "c": 0.14376,
    "h": 276.5
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#1E156E
secondary
#9AA43A
accent
#EB3DD9
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E156E

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

Preview Lab → · Contrast checker → · Palette generator →

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