#1E197F#1E197F

#1E197F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.162 H 273.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#1E197F
RGBrgb(30, 25, 127)
HSLhsl(243, 67%, 30%)
HSVhsv(243, 80%, 50%)
CMYKcmyk(76.4%, 80.3%, 0%, 50.2%)
CIE-LABlab(17.93, 37.42, -55.77)
CIE-LCHlch(17.93, 67.16, 303.86°)
OKLaboklab(30.88% 0.0102 -0.1613)
OKLCHoklch(30.88% 0.162 273.6)
XYZxyz(4.7125, 2.5031, 20.3093)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E197F #7A7F19
analogous
#19477F #1E197F #51197F
triadic
#1E197F #7F1E19 #197F1E
tetradic
#1E197F #7F1947 #7A7F19 #197F51
square
#1E197F #7F1947 #7A7F19 #197F51
split-complementary
#1E197F #7F5119 #477F19
monochromatic
#06051A #120F4C #1E197F #2A23B2 #423AD8

Accessibility & contrast

On white

13.99
#1E197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E197F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E197F#FFFFFF#000000##FFFFFF
##1E197F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e197f;
/* rgb */ color: rgb(30, 25, 127);
/* oklch */ color: oklch(30.9% 0.162 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c58a5',
    500: '#1e197f',
    950: '#000000',
  },
}
SCSS
$custom: #1e197f;
$custom-light: #6c58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e197f",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 242.941,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30878,
    "c": 0.16166,
    "h": 273.6
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#1E197F
secondary
#AEB341
accent
#EA3EE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E197F

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

Preview Lab → · Contrast checker → · Palette generator →

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