#1E1B72#1E1B72

#1E1B72 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.143 H 274.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1E1B72
RGBrgb(30, 27, 114)
HSLhsl(242, 62%, 28%)
HSVhsv(242, 76%, 45%)
CMYKcmyk(73.7%, 76.3%, 0%, 55.3%)
CIE-LABlab(16.87, 31.72, -49.20)
CIE-LCHlch(16.87, 58.54, 302.82°)
OKLaboklab(29.69% 0.012 -0.1422)
OKLCHoklch(29.69% 0.143 274.8)
XYZxyz(3.9636, 2.2744, 16.1464)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1B72 #6F721B
analogous
#1B4372 #1E1B72 #491B72
triadic
#1E1B72 #721E1B #1B721E
tetradic
#1E1B72 #721B43 #6F721B #1B7249
square
#1E1B72 #721B43 #6F721B #1B7249
split-complementary
#1E1B72 #72491B #43721B
monochromatic
#070619 #110F41 #1E1B72 #2B27A3 #3D38D0

Accessibility & contrast

On white

14.43
#1E1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1B72
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1B72#FFFFFF#000000##FFFFFF
##1E1B721.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1b72;
/* rgb */ color: rgb(30, 27, 114);
/* oklch */ color: oklch(29.7% 0.143 274.8);
Tailwind
colors: {
  custom: {
    50: '#68589c',
    500: '#1e1b72',
    950: '#000000',
  },
}
SCSS
$custom: #1e1b72;
$custom-light: #68589c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1b72",
  "rgb": {
    "r": 30,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 242.069,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.14275,
    "h": 274.8
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#1E1B72
secondary
#A3A742
accent
#E543DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1B72

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

Preview Lab → · Contrast checker → · Palette generator →

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