#1E1673#1E1673

#1E1673 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.149 H 275.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#1E1673
RGBrgb(30, 22, 115)
HSLhsl(245, 68%, 27%)
HSVhsv(245, 81%, 45%)
CMYKcmyk(73.9%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.94, 35.02, -51.37)
CIE-LCHlch(15.94, 62.17, 304.28°)
OKLaboklab(29.07% 0.0145 -0.1485)
OKLCHoklch(29.07% 0.149 275.6)
XYZxyz(3.9158, 2.0873, 16.4128)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1673 #6B7316
analogous
#163D73 #1E1673 #4D1673
triadic
#1E1673 #731E16 #16731E
tetradic
#1E1673 #73163D #6B7316 #16734D
square
#1E1673 #73163D #6B7316 #16734D
split-complementary
#1E1673 #734D16 #3D7316
monochromatic
#07051A #110C40 #1E1673 #2B20A6 #3B2DD7

Accessibility & contrast

On white

14.81
#1E1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1673
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1673#FFFFFF#000000##FFFFFF
##1E16731.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1673;
/* rgb */ color: rgb(30, 22, 115);
/* oklch */ color: oklch(29.1% 0.149 275.6);
Tailwind
colors: {
  custom: {
    50: '#69559c',
    500: '#1e1673',
    950: '#000000',
  },
}
SCSS
$custom: #1e1673;
$custom-light: #69559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1673",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 245.161,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29065,
    "c": 0.14924,
    "h": 275.6
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#1E1673
secondary
#9FA93C
accent
#EB3DDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1673

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

Preview Lab → · Contrast checker → · Palette generator →

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