#1E186A#1E186A

#1E186A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.135 H 276.6°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#1E186A
RGBrgb(30, 24, 106)
HSLhsl(244, 63%, 25%)
HSVhsv(244, 77%, 42%)
CMYKcmyk(71.7%, 77.4%, 0%, 58.4%)
CIE-LABlab(15.33, 30.72, -46.52)
CIE-LCHlch(15.33, 55.75, 303.44°)
OKLaboklab(28.33% 0.0156 -0.1344)
OKLCHoklch(28.33% 0.135 276.6)
XYZxyz(3.4627, 1.9696, 13.8306)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E186A #646A18
analogous
#183B6A #1E186A #47186A
triadic
#1E186A #6A1E18 #186A1E
tetradic
#1E186A #6A183B #646A18 #186A47
square
#1E186A #6A183B #646A18 #186A47
split-complementary
#1E186A #6A4718 #3B6A18
monochromatic
#070619 #100D38 #1E186A #2C239C #3A2FCE

Accessibility & contrast

On white

15.06
#1E186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E186A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E186A#FFFFFF#000000##FFFFFF
##1E186A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e186a;
/* rgb */ color: rgb(30, 24, 106);
/* oklch */ color: oklch(28.3% 0.135 276.6);
Tailwind
colors: {
  custom: {
    50: '#665696',
    500: '#1e186a',
    950: '#000000',
  },
}
SCSS
$custom: #1e186a;
$custom-light: #665696;
$custom-dark: #000000;
JSON
{
  "hex": "#1e186a",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 244.39,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28329,
    "c": 0.13533,
    "h": 276.6
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#1E186A
secondary
#99A03E
accent
#E642DA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E186A

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

Preview Lab → · Contrast checker → · Palette generator →

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