#1E165D#1E165D

#1E165D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.6% C 0.120 H 279.5°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#1E165D
RGBrgb(30, 22, 93)
HSLhsl(247, 62%, 23%)
HSVhsv(247, 76%, 36%)
CMYKcmyk(67.7%, 76.3%, 0%, 63.5%)
CIE-LABlab(13.47, 27.35, -40.97)
CIE-LCHlch(13.47, 49.26, 303.72°)
OKLaboklab(26.58% 0.0198 -0.1182)
OKLCHoklch(26.58% 0.12 279.5)
XYZxyz(2.7975, 1.6399, 10.5229)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E165D #555D16
analogous
#16315D #1E165D #42165D
triadic
#1E165D #5D1E16 #165D1E
tetradic
#1E165D #5D1631 #555D16 #165D42
square
#1E165D #5D1631 #555D16 #165D42
split-complementary
#1E165D #5D4216 #315D16
monochromatic
#080619 #0E0A2C #1E165D #2E228E #3E2DC0

Accessibility & contrast

On white

15.81
#1E165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1E165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E165D
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E165D#FFFFFF#000000##FFFFFF
##1E165D1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e165d;
/* rgb */ color: rgb(30, 22, 93);
/* oklch */ color: oklch(26.6% 0.120 279.5);
Tailwind
colors: {
  custom: {
    50: '#63548c',
    500: '#1e165d',
    950: '#000000',
  },
}
SCSS
$custom: #1e165d;
$custom-light: #63548c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e165d",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 246.761,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26584,
    "c": 0.11985,
    "h": 279.5
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#1E165D
secondary
#8A943B
accent
#E543D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E165D

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

Preview Lab → · Contrast checker → · Palette generator →

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