#1E1165#1E1165

#1E1165 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.136 H 278.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#1E1165
RGBrgb(30, 17, 101)
HSLhsl(249, 71%, 23%)
HSVhsv(249, 83%, 40%)
CMYKcmyk(70.3%, 83.2%, 0%, 60.4%)
CIE-LABlab(13.33, 33.06, -46.53)
CIE-LCHlch(13.33, 57.08, 305.40°)
OKLaboklab(26.75% 0.0212 -0.1344)
OKLCHoklch(26.75% 0.136 278.9)
XYZxyz(3.0841, 1.6162, 12.4588)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1165 #586511
analogous
#112E65 #1E1165 #481165
triadic
#1E1165 #651E11 #11651E
tetradic
#1E1165 #65112E #586511 #116548
square
#1E1165 #65112E #586511 #116548
split-complementary
#1E1165 #654811 #2E6511
monochromatic
#08041A #0E0831 #1E1165 #2E1A99 #3D23CE

Accessibility & contrast

On white

15.87
#1E1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1165
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1165#FFFFFF#000000##FFFFFF
##1E11651.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1165;
/* rgb */ color: rgb(30, 17, 101);
/* oklch */ color: oklch(26.8% 0.136 278.9);
Tailwind
colors: {
  custom: {
    50: '#665292',
    500: '#1e1165',
    950: '#000000',
  },
}
SCSS
$custom: #1e1165;
$custom-light: #665292;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1165",
  "rgb": {
    "r": 30,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 249.286,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26753,
    "c": 0.13603,
    "h": 278.9
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#1E1165
secondary
#8D9D35
accent
#EE3AD2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1165

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

Preview Lab → · Contrast checker → · Palette generator →

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