#1E188C#1E188C

#1E188C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.179 H 272.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1E188C
RGBrgb(30, 24, 140)
HSLhsl(243, 71%, 32%)
HSVhsv(243, 83%, 55%)
CMYKcmyk(78.6%, 82.9%, 0%, 45.1%)
CIE-LABlab(19.32, 42.26, -61.67)
CIE-LCHlch(19.32, 74.76, 304.42°)
OKLaboklab(32.3% 0.0074 -0.1784)
OKLCHoklch(32.3% 0.179 272.4)
XYZxyz(5.5941, 2.8221, 25.0558)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E188C #868C18
analogous
#184C8C #1E188C #58188C
triadic
#1E188C #8C1E18 #188C1E
tetradic
#1E188C #8C184C #868C18 #188C58
square
#1E188C #8C184C #868C18 #188C58
split-complementary
#1E188C #8C5818 #4C8C18
monochromatic
#080624 #130F58 #1E188C #2921C0 #4840DE

Accessibility & contrast

On white

13.42
#1E188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1E188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E188C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E188C#FFFFFF#000000##FFFFFF
##1E188C1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e188c;
/* rgb */ color: rgb(30, 24, 140);
/* oklch */ color: oklch(32.3% 0.179 272.4);
Tailwind
colors: {
  custom: {
    50: '#6f58af',
    500: '#1e188c',
    950: '#000000',
  },
}
SCSS
$custom: #1e188c;
$custom-light: #6f58af;
$custom-dark: #000000;
JSON
{
  "hex": "#1e188c",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 243.103,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.17859,
    "h": 272.4
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#1E188C
secondary
#B8BF41
accent
#ED3AE4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1E188C

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

Preview Lab → · Contrast checker → · Palette generator →

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