#1E188B#1E188B

#1E188B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.177 H 272.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1E188B
RGBrgb(30, 24, 139)
HSLhsl(243, 71%, 32%)
HSVhsv(243, 83%, 55%)
CMYKcmyk(78.4%, 82.7%, 0%, 45.5%)
CIE-LABlab(19.19, 41.94, -61.25)
CIE-LCHlch(19.19, 74.23, 304.40°)
OKLaboklab(32.18% 0.0076 -0.1772)
OKLCHoklch(32.18% 0.177 272.5)
XYZxyz(5.5207, 2.7928, 24.6692)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E188B #858B18
analogous
#184C8B #1E188B #57188B
triadic
#1E188B #8B1E18 #188B1E
tetradic
#1E188B #8B184C #858B18 #188B57
square
#1E188B #8B184C #858B18 #188B57
split-complementary
#1E188B #8B5718 #4C8B18
monochromatic
#070623 #130F57 #1E188B #2921BF #483FDE

Accessibility & contrast

On white

13.47
#1E188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E188B
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E188B#FFFFFF#000000##FFFFFF
##1E188B1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e188b;
/* rgb */ color: rgb(30, 24, 139);
/* oklch */ color: oklch(32.2% 0.177 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f58ae',
    500: '#1e188b',
    950: '#000000',
  },
}
SCSS
$custom: #1e188b;
$custom-light: #6f58ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e188b",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 243.13,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3218,
    "c": 0.17738,
    "h": 272.5
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#1E188B
secondary
#B8BE40
accent
#ED3AE4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E188B

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

Preview Lab → · Contrast checker → · Palette generator →

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