#1E186E#1E186E

#1E186E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.141 H 276.0°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#1E186E
RGBrgb(30, 24, 110)
HSLhsl(244, 64%, 26%)
HSVhsv(244, 78%, 43%)
CMYKcmyk(72.7%, 78.2%, 0%, 56.9%)
CIE-LABlab(15.77, 32.14, -48.40)
CIE-LCHlch(15.77, 58.10, 303.58°)
OKLaboklab(28.78% 0.0147 -0.1399)
OKLCHoklch(28.78% 0.141 276)
XYZxyz(3.6756, 2.0547, 14.9517)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E186E #686E18
analogous
#183D6E #1E186E #49186E
triadic
#1E186E #6E1E18 #186E1E
tetradic
#1E186E #6E183D #686E18 #186E49
square
#1E186E #6E183D #686E18 #186E49
split-complementary
#1E186E #6E4918 #3D6E18
monochromatic
#070519 #100D3C #1E186E #2C23A0 #3A2FD2

Accessibility & contrast

On white

14.88
#1E186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E186E
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E186E#FFFFFF#000000##FFFFFF
##1E186E1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e186e;
/* rgb */ color: rgb(30, 24, 110);
/* oklch */ color: oklch(28.8% 0.141 276.0);
Tailwind
colors: {
  custom: {
    50: '#675699',
    500: '#1e186e',
    950: '#000000',
  },
}
SCSS
$custom: #1e186e;
$custom-light: #675699;
$custom-dark: #000000;
JSON
{
  "hex": "#1e186e",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 244.186,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28778,
    "c": 0.14068,
    "h": 276
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#1E186E
secondary
#9DA43E
accent
#E741DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E186E

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

Preview Lab → · Contrast checker → · Palette generator →

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