#1E197E#1E197E

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

Color values

HEX#1E197E
RGBrgb(30, 25, 126)
HSLhsl(243, 67%, 30%)
HSVhsv(243, 80%, 49%)
CMYKcmyk(76.2%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.82, 37.08, -55.33)
CIE-LCHlch(17.82, 66.61, 303.83°)
OKLaboklab(30.76% 0.0104 -0.1601)
OKLCHoklch(30.76% 0.16 273.7)
XYZxyz(4.6477, 2.4772, 19.9678)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E197E #797E19
analogous
#19477E #1E197E #50197E
triadic
#1E197E #7E1E19 #197E1E
tetradic
#1E197E #7E1947 #797E19 #197E50
square
#1E197E #7E1947 #797E19 #197E50
split-complementary
#1E197E #7E5019 #477E19
monochromatic
#06051A #120F4B #1E197E #2A23B1 #413AD8

Accessibility & contrast

On white

14.04
#1E197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E197E
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E197E#FFFFFF#000000##FFFFFF
##1E197E1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e197e;
/* rgb */ color: rgb(30, 25, 126);
/* oklch */ color: oklch(30.8% 0.160 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b58a5',
    500: '#1e197e',
    950: '#000000',
  },
}
SCSS
$custom: #1e197e;
$custom-light: #6b58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e197e",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 242.97,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30761,
    "c": 0.1604,
    "h": 273.7
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#1E197E
secondary
#ADB241
accent
#EA3EE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1E197E

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

Preview Lab → · Contrast checker → · Palette generator →

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