#1E164F#1E164F

#1E164F is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.100 H 282.9°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#1E164F
RGBrgb(30, 22, 79)
HSLhsl(248, 56%, 20%)
HSVhsv(248, 72%, 31%)
CMYKcmyk(62%, 72.2%, 0%, 69%)
CIE-LABlab(12.05, 22.29, -33.80)
CIE-LCHlch(12.05, 40.49, 303.41°)
OKLaboklab(25.13% 0.0223 -0.0972)
OKLCHoklch(25.13% 0.1 282.9)
XYZxyz(2.2332, 1.4142, 7.5509)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E164F #474F16
analogous
#162B4F #1E164F #3B164F
triadic
#1E164F #4F1E16 #164F1E
tetradic
#1E164F #4F162B #474F16 #164F3B
square
#1E164F #4F162B #474F16 #164F3B
split-complementary
#1E164F #4F3B16 #2B4F16
monochromatic
#090718 #0C091F #1E164F #30237F #4231AF

Accessibility & contrast

On white

16.37
#1E164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1E164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E164F
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E164F#FFFFFF#000000##FFFFFF
##1E164F1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#062430
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e164f;
/* rgb */ color: rgb(30, 22, 79);
/* oklch */ color: oklch(25.1% 0.100 282.9);
Tailwind
colors: {
  custom: {
    50: '#605381',
    500: '#1e164f',
    950: '#000000',
  },
}
SCSS
$custom: #1e164f;
$custom-light: #605381;
$custom-dark: #000000;
JSON
{
  "hex": "#1e164f",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 248.421,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25129,
    "c": 0.09972,
    "h": 282.9
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#1E164F
secondary
#7C863A
accent
#E048CA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E164F

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

Preview Lab → · Contrast checker → · Palette generator →

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