#1E187E#1E187E

#1E187E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.161 H 273.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#1E187E
RGBrgb(30, 24, 126)
HSLhsl(244, 68%, 29%)
HSVhsv(244, 81%, 49%)
CMYKcmyk(76.2%, 81%, 0%, 50.6%)
CIE-LABlab(17.62, 37.64, -55.64)
CIE-LCHlch(17.62, 67.18, 304.07°)
OKLaboklab(30.63% 0.0108 -0.161)
OKLCHoklch(30.63% 0.161 273.9)
XYZxyz(4.6267, 2.4352, 19.9608)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E187E #787E18
analogous
#18457E #1E187E #51187E
triadic
#1E187E #7E1E18 #187E1E
tetradic
#1E187E #7E1845 #787E18 #187E51
square
#1E187E #7E1845 #787E18 #187E51
split-complementary
#1E187E #7E5118 #457E18
monochromatic
#06051A #120E4B #1E187E #2A22B1 #4137D9

Accessibility & contrast

On white

14.12
#1E187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E187E
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E187E#FFFFFF#000000##FFFFFF
##1E187E1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e187e;
/* rgb */ color: rgb(30, 24, 126);
/* oklch */ color: oklch(30.6% 0.161 273.9);
Tailwind
colors: {
  custom: {
    50: '#6b57a5',
    500: '#1e187e',
    950: '#000000',
  },
}
SCSS
$custom: #1e187e;
$custom-light: #6b57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e187e",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 243.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30627,
    "c": 0.16133,
    "h": 273.9
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E187E

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

Preview Lab → · Contrast checker → · Palette generator →

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