#1E188A#1E188A

#1E188A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.176 H 272.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1E188A
RGBrgb(30, 24, 138)
HSLhsl(243, 70%, 32%)
HSVhsv(243, 83%, 54%)
CMYKcmyk(78.3%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.07, 41.61, -60.82)
CIE-LCHlch(19.07, 73.70, 304.38°)
OKLaboklab(32.06% 0.0079 -0.176)
OKLCHoklch(32.06% 0.176 272.6)
XYZxyz(5.4480, 2.7637, 24.2861)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E188A #848A18
analogous
#184B8A #1E188A #57188A
triadic
#1E188A #8A1E18 #188A1E
tetradic
#1E188A #8A184B #848A18 #188A57
square
#1E188A #8A184B #848A18 #188A57
split-complementary
#1E188A #8A5718 #4B8A18
monochromatic
#070622 #130F56 #1E188A #2921BE #473FDE

Accessibility & contrast

On white

13.52
#1E188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1E188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E188A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E188A#FFFFFF#000000##FFFFFF
##1E188A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1e188a;
/* rgb */ color: rgb(30, 24, 138);
/* oklch */ color: oklch(32.1% 0.176 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f58ad',
    500: '#1e188a',
    950: '#000000',
  },
}
SCSS
$custom: #1e188a;
$custom-light: #6f58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e188a",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 243.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32059,
    "c": 0.17618,
    "h": 272.6
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#1E188A
secondary
#B7BD40
accent
#ED3BE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1E188A

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

Preview Lab → · Contrast checker → · Palette generator →

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