#1E165E#1E165E

#1E165E is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.121 H 279.3°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#1E165E
RGBrgb(30, 22, 94)
HSLhsl(247, 62%, 23%)
HSVhsv(247, 77%, 37%)
CMYKcmyk(68.1%, 76.6%, 0%, 63.1%)
CIE-LABlab(13.58, 27.70, -41.46)
CIE-LCHlch(13.58, 49.86, 303.75°)
OKLaboklab(26.69% 0.0196 -0.1196)
OKLCHoklch(26.69% 0.121 279.3)
XYZxyz(2.8421, 1.6578, 10.7577)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E165E #565E16
analogous
#16325E #1E165E #42165E
triadic
#1E165E #5E1E16 #165E1E
tetradic
#1E165E #5E1632 #565E16 #165E42
square
#1E165E #5E1632 #565E16 #165E42
split-complementary
#1E165E #5E4216 #325E16
monochromatic
#080619 #0E0A2C #1E165E #2E2290 #3E2DC1

Accessibility & contrast

On white

15.77
#1E165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E165E
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E165E#FFFFFF#000000##FFFFFF
##1E165E1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e165e;
/* rgb */ color: rgb(30, 22, 94);
/* oklch */ color: oklch(26.7% 0.121 279.3);
Tailwind
colors: {
  custom: {
    50: '#64548c',
    500: '#1e165e',
    950: '#000000',
  },
}
SCSS
$custom: #1e165e;
$custom-light: #64548c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e165e",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 246.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26692,
    "c": 0.12123,
    "h": 279.3
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E165E

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

Preview Lab → · Contrast checker → · Palette generator →

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