#1E156B#1E156B

#1E156B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.140 H 277.0°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#1E156B
RGBrgb(30, 21, 107)
HSLhsl(246, 67%, 25%)
HSVhsv(246, 80%, 42%)
CMYKcmyk(72%, 80.4%, 0%, 58%)
CIE-LABlab(14.81, 32.86, -48.03)
CIE-LCHlch(14.81, 58.20, 304.37°)
OKLaboklab(28% 0.0172 -0.1388)
OKLCHoklch(28% 0.14 277)
XYZxyz(3.4566, 1.8736, 14.0865)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E156B #626B15
analogous
#15376B #1E156B #49156B
triadic
#1E156B #6B1E15 #156B1E
tetradic
#1E156B #6B1537 #626B15 #156B49
square
#1E156B #6B1537 #626B15 #156B49
split-complementary
#1E156B #6B4915 #376B15
monochromatic
#07051A #100B38 #1E156B #2C1F9E #3B29D1

Accessibility & contrast

On white

15.27
#1E156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E156B
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E156B#FFFFFF#000000##FFFFFF
##1E156B1.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e156b;
/* rgb */ color: rgb(30, 21, 107);
/* oklch */ color: oklch(28.0% 0.140 277.0);
Tailwind
colors: {
  custom: {
    50: '#675496',
    500: '#1e156b',
    950: '#000000',
  },
}
SCSS
$custom: #1e156b;
$custom-light: #675496;
$custom-dark: #000000;
JSON
{
  "hex": "#1e156b",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 246.279,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27997,
    "c": 0.13986,
    "h": 277
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#1E156B
secondary
#97A23A
accent
#EA3ED8
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E156B

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

Preview Lab → · Contrast checker → · Palette generator →

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