#1E188F#1E188F

#1E188F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.182 H 272.1°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#1E188F
RGBrgb(30, 24, 143)
HSLhsl(243, 71%, 33%)
HSVhsv(243, 83%, 56%)
CMYKcmyk(79%, 83.2%, 0%, 43.9%)
CIE-LABlab(19.69, 43.23, -62.93)
CIE-LCHlch(19.69, 76.35, 304.49°)
OKLaboklab(32.66% 0.0066 -0.1821)
OKLCHoklch(32.66% 0.182 272.1)
XYZxyz(5.8183, 2.9118, 26.2367)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E188F #898F18
analogous
#184E8F #1E188F #59188F
triadic
#1E188F #8F1E18 #188F1E
tetradic
#1E188F #8F184E #898F18 #188F59
square
#1E188F #8F184E #898F18 #188F59
split-complementary
#1E188F #8F5918 #4E8F18
monochromatic
#080626 #130F5B #1E188F #2921C3 #4A42DF

Accessibility & contrast

On white

13.27
#1E188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E188F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E188F#FFFFFF#000000##FFFFFF
##1E188F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e188f;
/* rgb */ color: rgb(30, 24, 143);
/* oklch */ color: oklch(32.7% 0.182 272.1);
Tailwind
colors: {
  custom: {
    50: '#7059b1',
    500: '#1e188f',
    950: '#000000',
  },
}
SCSS
$custom: #1e188f;
$custom-light: #7059b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e188f",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 243.025,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32664,
    "c": 0.18221,
    "h": 272.1
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#1E188F
secondary
#BAC043
accent
#EE3AE5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E188F

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

Preview Lab → · Contrast checker → · Palette generator →

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