#1E197B#1E197B

#1E197B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.157 H 274.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#1E197B
RGBrgb(30, 25, 123)
HSLhsl(243, 66%, 29%)
HSVhsv(243, 80%, 48%)
CMYKcmyk(75.6%, 79.7%, 0%, 51.8%)
CIE-LABlab(17.46, 36.06, -53.99)
CIE-LCHlch(17.46, 64.93, 303.74°)
OKLaboklab(30.41% 0.0111 -0.1562)
OKLCHoklch(30.41% 0.157 274.1)
XYZxyz(4.4570, 2.4009, 18.9636)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E197B #767B19
analogous
#19457B #1E197B #4F197B
triadic
#1E197B #7B1E19 #197B1E
tetradic
#1E197B #7B1945 #767B19 #197B4F
square
#1E197B #7B1945 #767B19 #197B4F
split-complementary
#1E197B #7B4F19 #457B19
monochromatic
#060519 #120F48 #1E197B #2A23AE #4038D7

Accessibility & contrast

On white

14.19
#1E197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1E197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E197B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E197B#FFFFFF#000000##FFFFFF
##1E197B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1e197b;
/* rgb */ color: rgb(30, 25, 123);
/* oklch */ color: oklch(30.4% 0.157 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b58a2',
    500: '#1e197b',
    950: '#000000',
  },
}
SCSS
$custom: #1e197b;
$custom-light: #6b58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e197b",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 243.061,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30412,
    "c": 0.15658,
    "h": 274.1
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#1E197B
secondary
#AAAF40
accent
#E93FE0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E197B

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

Preview Lab → · Contrast checker → · Palette generator →

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