#1E1983#1E1983

#1E1983 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.167 H 273.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#1E1983
RGBrgb(30, 25, 131)
HSLhsl(243, 68%, 31%)
HSVhsv(243, 81%, 51%)
CMYKcmyk(77.1%, 80.9%, 0%, 48.6%)
CIE-LABlab(18.41, 38.77, -57.52)
CIE-LCHlch(18.41, 69.37, 303.98°)
OKLaboklab(31.35% 0.0092 -0.1664)
OKLCHoklch(31.35% 0.167 273.2)
XYZxyz(4.9784, 2.6095, 21.7096)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1983 #7E8319
analogous
#194983 #1E1983 #531983
triadic
#1E1983 #831E19 #19831E
tetradic
#1E1983 #831949 #7E8319 #198353
square
#1E1983 #831949 #7E8319 #198353
split-complementary
#1E1983 #835319 #498319
monochromatic
#06051C #120F50 #1E1983 #2A23B6 #443DDA

Accessibility & contrast

On white

13.80
#1E1983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1983
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1983#FFFFFF#000000##FFFFFF
##1E19831.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1983;
/* rgb */ color: rgb(30, 25, 131);
/* oklch */ color: oklch(31.3% 0.167 273.2);
Tailwind
colors: {
  custom: {
    50: '#6d58a8',
    500: '#1e1983',
    950: '#000000',
  },
}
SCSS
$custom: #1e1983;
$custom-light: #6d58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1983",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 242.83,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.16669,
    "h": 273.2
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#1E1983
secondary
#B1B741
accent
#EB3DE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1E1983

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

Preview Lab → · Contrast checker → · Palette generator →

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