#1E165C#1E165C

#1E165C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.5% C 0.118 H 279.7°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#1E165C
RGBrgb(30, 22, 92)
HSLhsl(247, 61%, 22%)
HSVhsv(247, 76%, 36%)
CMYKcmyk(67.4%, 76.1%, 0%, 63.9%)
CIE-LABlab(13.37, 26.99, -40.47)
CIE-LCHlch(13.37, 48.65, 303.70°)
OKLaboklab(26.48% 0.02 -0.1167)
OKLCHoklch(26.48% 0.118 279.7)
XYZxyz(2.7535, 1.6223, 10.2912)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E165C #545C16
analogous
#16315C #1E165C #41165C
triadic
#1E165C #5C1E16 #165C1E
tetradic
#1E165C #5C1631 #545C16 #165C41
square
#1E165C #5C1631 #545C16 #165C41
split-complementary
#1E165C #5C4116 #315C16
monochromatic
#080619 #0E0A2B #1E165C #2E228D #3E2EBF

Accessibility & contrast

On white

15.85
#1E165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E165C
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E165C#FFFFFF#000000##FFFFFF
##1E165C1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e165c;
/* rgb */ color: rgb(30, 22, 92);
/* oklch */ color: oklch(26.5% 0.118 279.7);
Tailwind
colors: {
  custom: {
    50: '#63548b',
    500: '#1e165c',
    950: '#000000',
  },
}
SCSS
$custom: #1e165c;
$custom-light: #63548b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e165c",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 246.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26476,
    "c": 0.11845,
    "h": 279.7
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#1E165C
secondary
#89933B
accent
#E543D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E165C

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

Preview Lab → · Contrast checker → · Palette generator →

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