#1E198F#1E198F

#1E198F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.181 H 272.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1E198F
RGBrgb(30, 25, 143)
HSLhsl(243, 70%, 33%)
HSVhsv(243, 83%, 56%)
CMYKcmyk(79%, 82.5%, 0%, 43.9%)
CIE-LABlab(19.86, 42.73, -62.64)
CIE-LCHlch(19.86, 75.83, 304.30°)
OKLaboklab(32.78% 0.0063 -0.1813)
OKLCHoklch(32.78% 0.181 272)
XYZxyz(5.8393, 2.9538, 26.2437)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E198F #8A8F19
analogous
#194F8F #1E198F #59198F
triadic
#1E198F #8F1E19 #198F1E
tetradic
#1E198F #8F194F #8A8F19 #198F59
square
#1E198F #8F194F #8A8F19 #198F59
split-complementary
#1E198F #8F5919 #4F8F19
monochromatic
#080727 #13105B #1E198F #2922C3 #4B44DE

Accessibility & contrast

On white

13.20
#1E198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E198F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E198F#FFFFFF#000000##FFFFFF
##1E198F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e198f;
/* rgb */ color: rgb(30, 25, 143);
/* oklch */ color: oklch(32.8% 0.181 272.0);
Tailwind
colors: {
  custom: {
    50: '#7059b1',
    500: '#1e198f',
    950: '#000000',
  },
}
SCSS
$custom: #1e198f;
$custom-light: #7059b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e198f",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 242.542,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32783,
    "c": 0.18139,
    "h": 272
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#1E198F
secondary
#BABF44
accent
#ED3BE5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1E198F

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

Preview Lab → · Contrast checker → · Palette generator →

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