#1E165F#1E165F

#1E165F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.123 H 279.1°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#1E165F
RGBrgb(30, 22, 95)
HSLhsl(247, 62%, 23%)
HSVhsv(247, 77%, 37%)
CMYKcmyk(68.4%, 76.8%, 0%, 62.7%)
CIE-LABlab(13.68, 28.06, -41.96)
CIE-LCHlch(13.68, 50.47, 303.77°)
OKLaboklab(26.8% 0.0194 -0.1211)
OKLCHoklch(26.8% 0.123 279.1)
XYZxyz(2.8872, 1.6758, 10.9956)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E165F #575F16
analogous
#16335F #1E165F #42165F
triadic
#1E165F #5F1E16 #165F1E
tetradic
#1E165F #5F1633 #575F16 #165F42
square
#1E165F #5F1633 #575F16 #165F42
split-complementary
#1E165F #5F4216 #335F16
monochromatic
#080619 #0E0A2D #1E165F #2E2291 #3D2DC2

Accessibility & contrast

On white

15.73
#1E165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1E165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E165F
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E165F#FFFFFF#000000##FFFFFF
##1E165F1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00205E
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e165f;
/* rgb */ color: rgb(30, 22, 95);
/* oklch */ color: oklch(26.8% 0.123 279.1);
Tailwind
colors: {
  custom: {
    50: '#64548d',
    500: '#1e165f',
    950: '#000000',
  },
}
SCSS
$custom: #1e165f;
$custom-light: #64548d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e165f",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 246.575,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26801,
    "c": 0.12262,
    "h": 279.1
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#1E165F
secondary
#8C963B
accent
#E542D4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E165F

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

Preview Lab → · Contrast checker → · Palette generator →

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