#1E156C#1E156C

#1E156C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.141 H 276.9°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#1E156C
RGBrgb(30, 21, 108)
HSLhsl(246, 67%, 25%)
HSVhsv(246, 81%, 42%)
CMYKcmyk(72.2%, 80.6%, 0%, 57.6%)
CIE-LABlab(14.92, 33.20, -48.50)
CIE-LCHlch(14.92, 58.77, 304.40°)
OKLaboklab(28.11% 0.0169 -0.1401)
OKLCHoklch(28.11% 0.141 276.9)
XYZxyz(3.5095, 1.8947, 14.3652)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E156C #636C15
analogous
#15376C #1E156C #49156C
triadic
#1E156C #6C1E15 #156C1E
tetradic
#1E156C #6C1537 #636C15 #156C49
square
#1E156C #6C1537 #636C15 #156C49
split-complementary
#1E156C #6C4915 #376C15
monochromatic
#07051A #100B39 #1E156C #2C1F9F #3A29D2

Accessibility & contrast

On white

15.23
#1E156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E156C
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E156C#FFFFFF#000000##FFFFFF
##1E156C1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e156c;
/* rgb */ color: rgb(30, 21, 108);
/* oklch */ color: oklch(28.1% 0.141 276.9);
Tailwind
colors: {
  custom: {
    50: '#675497',
    500: '#1e156c',
    950: '#000000',
  },
}
SCSS
$custom: #1e156c;
$custom-light: #675497;
$custom-dark: #000000;
JSON
{
  "hex": "#1e156c",
  "rgb": {
    "r": 30,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 246.207,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28113,
    "c": 0.14116,
    "h": 276.9
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#1E156C
secondary
#98A33A
accent
#EA3DD8
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E156C

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

Preview Lab → · Contrast checker → · Palette generator →

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