#1E1B60#1E1B60

#1E1B60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.8% C 0.118 H 277.4°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#1E1B60
RGBrgb(30, 27, 96)
HSLhsl(243, 56%, 24%)
HSVhsv(243, 72%, 38%)
CMYKcmyk(68.7%, 71.9%, 0%, 62.4%)
CIE-LABlab(14.98, 25.16, -40.50)
CIE-LCHlch(14.98, 47.68, 301.85°)
OKLaboklab(27.76% 0.0151 -0.1168)
OKLCHoklch(27.76% 0.118 277.4)
XYZxyz(3.0380, 1.9042, 11.2715)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B60 #5D601B
analogous
#1B3B60 #1E1B60 #411B60
triadic
#1E1B60 #601E1B #1B601E
tetradic
#1E1B60 #601B3B #5D601B #1B6041
square
#1E1B60 #601B3B #5D601B #1B6041
split-complementary
#1E1B60 #60411B #3B601B
monochromatic
#070718 #0F0E30 #1E1B60 #2D2890 #3C36C0

Accessibility & contrast

On white

15.21
#1E1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B60
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B60#FFFFFF#000000##FFFFFF
##1E1B601.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1b60;
/* rgb */ color: rgb(30, 27, 96);
/* oklch */ color: oklch(27.8% 0.118 277.4);
Tailwind
colors: {
  custom: {
    50: '#64588e',
    500: '#1e1b60',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b60;
$custom-light: #64588e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b60",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 242.609,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27759,
    "c": 0.11781,
    "h": 277.4
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#1E1B60
secondary
#929641
accent
#DF48D9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1E1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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