#1E166C#1E166C

#1E166C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.140 H 276.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#1E166C
RGBrgb(30, 22, 108)
HSLhsl(246, 66%, 25%)
HSVhsv(246, 80%, 42%)
CMYKcmyk(72.2%, 79.6%, 0%, 57.6%)
CIE-LABlab(15.13, 32.62, -48.16)
CIE-LCHlch(15.13, 58.17, 304.11°)
OKLaboklab(28.26% 0.0163 -0.1392)
OKLCHoklch(28.26% 0.14 276.7)
XYZxyz(3.5282, 1.9322, 14.3715)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E166C #646C16
analogous
#16396C #1E166C #49166C
triadic
#1E166C #6C1E16 #166C1E
tetradic
#1E166C #6C1639 #646C16 #166C49
square
#1E166C #6C1639 #646C16 #166C49
split-complementary
#1E166C #6C4916 #396C16
monochromatic
#070519 #100C39 #1E166C #2C209F #3A2BD2

Accessibility & contrast

On white

15.14
#1E166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E166C
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E166C#FFFFFF#000000##FFFFFF
##1E166C1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e166c;
/* rgb */ color: rgb(30, 22, 108);
/* oklch */ color: oklch(28.3% 0.140 276.7);
Tailwind
colors: {
  custom: {
    50: '#675597',
    500: '#1e166c',
    950: '#000000',
  },
}
SCSS
$custom: #1e166c;
$custom-light: #675597;
$custom-dark: #000000;
JSON
{
  "hex": "#1e166c",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 245.581,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28255,
    "c": 0.14014,
    "h": 276.7
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#1E166C
secondary
#99A23C
accent
#E93FD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E166C

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

Preview Lab → · Contrast checker → · Palette generator →

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