#1E2383#1E2383

#1E2383 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.157 H 271.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1E2383
RGBrgb(30, 35, 131)
HSLhsl(237, 63%, 32%)
HSVhsv(237, 77%, 51%)
CMYKcmyk(77.1%, 73.3%, 0%, 48.6%)
CIE-LABlab(20.50, 32.86, -54.06)
CIE-LCHlch(20.50, 63.26, 301.29°)
OKLaboklab(32.84% 0.0046 -0.1564)
OKLCHoklch(32.84% 0.157 271.7)
XYZxyz(5.2318, 3.1162, 21.7941)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2383 #837E1E
analogous
#1E5683 #1E2383 #4C1E83
triadic
#1E2383 #831E23 #23831E
tetradic
#1E2383 #831E56 #837E1E #1E834C
square
#1E2383 #831E56 #837E1E #1E834C
split-complementary
#1E2383 #834C1E #56831E
monochromatic
#07081F #131651 #1E2383 #2930B5 #474ED5

Accessibility & contrast

On white

12.94
#1E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2383
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2383#FFFFFF#000000##FFFFFF
##1E23831.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2383;
/* rgb */ color: rgb(30, 35, 131);
/* oklch */ color: oklch(32.8% 0.157 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c5ea8',
    500: '#1e2383',
    950: '#000000',
  },
}
SCSS
$custom: #1e2383;
$custom-light: #6c5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2383",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 237.03,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32836,
    "c": 0.15651,
    "h": 271.7
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#1E2383
secondary
#B6B047
accent
#DE42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1E2383

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

Preview Lab → · Contrast checker → · Palette generator →

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