#1E165B#1E165B

#1E165B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.117 H 279.9°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1E165B
RGBrgb(30, 22, 91)
HSLhsl(247, 61%, 22%)
HSVhsv(247, 76%, 36%)
CMYKcmyk(67%, 75.8%, 0%, 64.3%)
CIE-LABlab(13.26, 26.63, -39.97)
CIE-LCHlch(13.26, 48.03, 303.67°)
OKLaboklab(26.37% 0.0202 -0.1153)
OKLCHoklch(26.37% 0.117 279.9)
XYZxyz(2.7101, 1.6050, 10.0625)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E165B #535B16
analogous
#16305B #1E165B #41165B
triadic
#1E165B #5B1E16 #165B1E
tetradic
#1E165B #5B1630 #535B16 #165B41
square
#1E165B #5B1630 #535B16 #165B41
split-complementary
#1E165B #5B4116 #305B16
monochromatic
#080619 #0E0A2A #1E165B #2E228C #3E2EBE

Accessibility & contrast

On white

15.90
#1E165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E165B
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E165B#FFFFFF#000000##FFFFFF
##1E165B1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e165b;
/* rgb */ color: rgb(30, 22, 91);
/* oklch */ color: oklch(26.4% 0.117 279.9);
Tailwind
colors: {
  custom: {
    50: '#63548a',
    500: '#1e165b',
    950: '#000000',
  },
}
SCSS
$custom: #1e165b;
$custom-light: #63548a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e165b",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 246.957,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26369,
    "c": 0.11705,
    "h": 279.9
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#1E165B
secondary
#88923B
accent
#E444D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E165B

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

Preview Lab → · Contrast checker → · Palette generator →

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