#1E196C#1E196C

#1E196C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.137 H 276.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1E196C
RGBrgb(30, 25, 108)
HSLhsl(244, 62%, 26%)
HSVhsv(244, 77%, 42%)
CMYKcmyk(72.2%, 76.9%, 0%, 57.6%)
CIE-LABlab(15.77, 30.82, -47.11)
CIE-LCHlch(15.77, 56.29, 303.19°)
OKLaboklab(28.71% 0.0145 -0.1361)
OKLCHoklch(28.71% 0.137 276.1)
XYZxyz(3.5889, 2.0537, 14.3917)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E196C #676C19
analogous
#193D6C #1E196C #47196C
triadic
#1E196C #6C1E19 #196C1E
tetradic
#1E196C #6C193D #676C19 #196C47
square
#1E196C #6C193D #676C19 #196C47
split-complementary
#1E196C #6C4719 #3D6C19
monochromatic
#070619 #100D3A #1E196C #2C259E #3A30CF

Accessibility & contrast

On white

14.89
#1E196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1E196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E196C
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E196C#FFFFFF#000000##FFFFFF
##1E196C1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e196c;
/* rgb */ color: rgb(30, 25, 108);
/* oklch */ color: oklch(28.7% 0.137 276.1);
Tailwind
colors: {
  custom: {
    50: '#675797',
    500: '#1e196c',
    950: '#000000',
  },
}
SCSS
$custom: #1e196c;
$custom-light: #675797;
$custom-dark: #000000;
JSON
{
  "hex": "#1e196c",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 243.614,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28707,
    "c": 0.13691,
    "h": 276.1
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#1E196C
secondary
#9CA13F
accent
#E542DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E196C

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

Preview Lab → · Contrast checker → · Palette generator →

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