#1E187F#1E187F

#1E187F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.163 H 273.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#1E187F
RGBrgb(30, 24, 127)
HSLhsl(243, 68%, 30%)
HSVhsv(243, 81%, 50%)
CMYKcmyk(76.4%, 81.1%, 0%, 50.2%)
CIE-LABlab(17.74, 37.97, -56.08)
CIE-LCHlch(17.74, 67.73, 304.10°)
OKLaboklab(30.75% 0.0106 -0.1622)
OKLCHoklch(30.75% 0.163 273.7)
XYZxyz(4.6915, 2.4611, 20.3023)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E187F #797F18
analogous
#18467F #1E187F #52187F
triadic
#1E187F #7F1E18 #187F1E
tetradic
#1E187F #7F1846 #797F18 #187F52
square
#1E187F #7F1846 #797F18 #187F52
split-complementary
#1E187F #7F5218 #467F18
monochromatic
#06051A #120E4C #1E187F #2A22B2 #4138D9

Accessibility & contrast

On white

14.07
#1E187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1E187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E187F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E187F#FFFFFF#000000##FFFFFF
##1E187F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e187f;
/* rgb */ color: rgb(30, 24, 127);
/* oklch */ color: oklch(30.7% 0.163 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c57a5',
    500: '#1e187f',
    950: '#000000',
  },
}
SCSS
$custom: #1e187f;
$custom-light: #6c57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e187f",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 243.495,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30745,
    "c": 0.1626,
    "h": 273.7
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#1E187F
secondary
#ADB33F
accent
#EB3DE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E187F

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

Preview Lab → · Contrast checker → · Palette generator →

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