#1E186F#1E186F

#1E186F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.142 H 275.8°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#1E186F
RGBrgb(30, 24, 111)
HSLhsl(244, 64%, 26%)
HSVhsv(244, 78%, 44%)
CMYKcmyk(73%, 78.4%, 0%, 56.5%)
CIE-LABlab(15.88, 32.49, -48.87)
CIE-LCHlch(15.88, 58.68, 303.62°)
OKLaboklab(28.89% 0.0144 -0.1413)
OKLCHoklch(28.89% 0.142 275.8)
XYZxyz(3.7304, 2.0766, 15.2401)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E186F #696F18
analogous
#183E6F #1E186F #4A186F
triadic
#1E186F #6F1E18 #186F1E
tetradic
#1E186F #6F183E #696F18 #186F4A
square
#1E186F #6F183E #696F18 #186F4A
split-complementary
#1E186F #6F4A18 #3E6F18
monochromatic
#070519 #100D3D #1E186F #2C23A1 #3B2FD2

Accessibility & contrast

On white

14.84
#1E186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E186F
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E186F#FFFFFF#000000##FFFFFF
##1E186F1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e186f;
/* rgb */ color: rgb(30, 24, 111);
/* oklch */ color: oklch(28.9% 0.142 275.8);
Tailwind
colors: {
  custom: {
    50: '#685699',
    500: '#1e186f',
    950: '#000000',
  },
}
SCSS
$custom: #1e186f;
$custom-light: #685699;
$custom-dark: #000000;
JSON
{
  "hex": "#1e186f",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 244.138,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28891,
    "c": 0.14201,
    "h": 275.8
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#1E186F
secondary
#9EA53E
accent
#E740DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E186F

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

Preview Lab → · Contrast checker → · Palette generator →

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