#1E186D#1E186D

#1E186D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.139 H 276.1°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#1E186D
RGBrgb(30, 24, 109)
HSLhsl(244, 64%, 26%)
HSVhsv(244, 78%, 43%)
CMYKcmyk(72.5%, 78%, 0%, 57.3%)
CIE-LABlab(15.66, 31.78, -47.94)
CIE-LCHlch(15.66, 57.52, 303.55°)
OKLaboklab(28.67% 0.0149 -0.1385)
OKLCHoklch(28.67% 0.139 276.1)
XYZxyz(3.6215, 2.0331, 14.6666)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E186D #676D18
analogous
#183C6D #1E186D #48186D
triadic
#1E186D #6D1E18 #186D1E
tetradic
#1E186D #6D183C #676D18 #186D48
square
#1E186D #6D183C #676D18 #186D48
split-complementary
#1E186D #6D4818 #3C6D18
monochromatic
#070619 #100D3B #1E186D #2C239F #3A2ED1

Accessibility & contrast

On white

14.93
#1E186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E186D
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E186D#FFFFFF#000000##FFFFFF
##1E186D1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e186d;
/* rgb */ color: rgb(30, 24, 109);
/* oklch */ color: oklch(28.7% 0.139 276.1);
Tailwind
colors: {
  custom: {
    50: '#675698',
    500: '#1e186d',
    950: '#000000',
  },
}
SCSS
$custom: #1e186d;
$custom-light: #675698;
$custom-dark: #000000;
JSON
{
  "hex": "#1e186d",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 244.235,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28665,
    "c": 0.13935,
    "h": 276.1
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#1E186D
secondary
#9CA33E
accent
#E741DB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E186D

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

Preview Lab → · Contrast checker → · Palette generator →

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