#1E196E#1E196E

#1E196E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.140 H 275.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#1E196E
RGBrgb(30, 25, 110)
HSLhsl(244, 63%, 26%)
HSVhsv(244, 77%, 43%)
CMYKcmyk(72.7%, 77.3%, 0%, 56.9%)
CIE-LABlab(15.99, 31.53, -48.05)
CIE-LCHlch(15.99, 57.47, 303.27°)
OKLaboklab(28.93% 0.0141 -0.1389)
OKLCHoklch(28.93% 0.14 275.8)
XYZxyz(3.6966, 2.0967, 14.9587)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E196E #696E19
analogous
#193F6E #1E196E #49196E
triadic
#1E196E #6E1E19 #196E1E
tetradic
#1E196E #6E193F #696E19 #196E49
square
#1E196E #6E193F #696E19 #196E49
split-complementary
#1E196E #6E4919 #3F6E19
monochromatic
#070619 #100E3C #1E196E #2C24A0 #3B31D0

Accessibility & contrast

On white

14.79
#1E196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E196E
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E196E#FFFFFF#000000##FFFFFF
##1E196E1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e196e;
/* rgb */ color: rgb(30, 25, 110);
/* oklch */ color: oklch(28.9% 0.140 275.8);
Tailwind
colors: {
  custom: {
    50: '#675799',
    500: '#1e196e',
    950: '#000000',
  },
}
SCSS
$custom: #1e196e;
$custom-light: #675799;
$custom-dark: #000000;
JSON
{
  "hex": "#1e196e",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 243.529,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.2893,
    "c": 0.1396,
    "h": 275.8
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#1E196E
secondary
#9EA33F
accent
#E642DC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E196E

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

Preview Lab → · Contrast checker → · Palette generator →

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