#1E196B#1E196B

#1E196B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.136 H 276.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#1E196B
RGBrgb(30, 25, 107)
HSLhsl(244, 62%, 26%)
HSVhsv(244, 77%, 42%)
CMYKcmyk(72%, 76.6%, 0%, 58%)
CIE-LABlab(15.66, 30.46, -46.64)
CIE-LCHlch(15.66, 55.70, 303.15°)
OKLaboklab(28.6% 0.0147 -0.1348)
OKLCHoklch(28.6% 0.136 276.2)
XYZxyz(3.5360, 2.0325, 14.1130)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E196B #666B19
analogous
#193D6B #1E196B #47196B
triadic
#1E196B #6B1E19 #196B1E
tetradic
#1E196B #6B193D #666B19 #196B47
square
#1E196B #6B193D #666B19 #196B47
split-complementary
#1E196B #6B4719 #3D6B19
monochromatic
#070619 #100D39 #1E196B #2C259D #3A30CE

Accessibility & contrast

On white

14.93
#1E196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E196B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E196B#FFFFFF#000000##FFFFFF
##1E196B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1e196b;
/* rgb */ color: rgb(30, 25, 107);
/* oklch */ color: oklch(28.6% 0.136 276.2);
Tailwind
colors: {
  custom: {
    50: '#665796',
    500: '#1e196b',
    950: '#000000',
  },
}
SCSS
$custom: #1e196b;
$custom-light: #665796;
$custom-dark: #000000;
JSON
{
  "hex": "#1e196b",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 243.659,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28596,
    "c": 0.13556,
    "h": 276.2
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#1E196B
secondary
#9BA13F
accent
#E543DB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E196B

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

Preview Lab → · Contrast checker → · Palette generator →

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