#1E1B7C#1E1B7C

#1E1B7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.156 H 273.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#1E1B7C
RGBrgb(30, 27, 124)
HSLhsl(242, 64%, 30%)
HSVhsv(242, 78%, 49%)
CMYKcmyk(75.8%, 78.2%, 0%, 51.4%)
CIE-LABlab(17.98, 35.25, -53.77)
CIE-LCHlch(17.98, 64.30, 303.25°)
OKLaboklab(30.81% 0.0099 -0.1556)
OKLCHoklch(30.81% 0.156 273.7)
XYZxyz(4.5642, 2.5147, 19.3097)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B7C #797C1B
analogous
#1B487C #1E1B7C #4F1B7C
triadic
#1E1B7C #7C1E1B #1B7C1E
tetradic
#1E1B7C #7C1B48 #797C1B #1B7C4F
square
#1E1B7C #7C1B48 #797C1B #1B7C4F
split-complementary
#1E1B7C #7C4F1B #487C1B
monochromatic
#060519 #12104A #1E1B7C #2A26AE #413DD5

Accessibility & contrast

On white

13.97
#1E1B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B7C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B7C#FFFFFF#000000##FFFFFF
##1E1B7C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1b7c;
/* rgb */ color: rgb(30, 27, 124);
/* oklch */ color: oklch(30.8% 0.156 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b59a3',
    500: '#1e1b7c',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b7c;
$custom-light: #6b59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b7c",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 241.856,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30813,
    "c": 0.15589,
    "h": 273.7
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#1E1B7C
secondary
#ADB043
accent
#E741E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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