#1E1863#1E1863

#1E1863 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.126 H 277.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#1E1863
RGBrgb(30, 24, 99)
HSLhsl(245, 61%, 24%)
HSVhsv(245, 76%, 39%)
CMYKcmyk(69.7%, 75.8%, 0%, 61.2%)
CIE-LABlab(14.57, 28.22, -43.16)
CIE-LCHlch(14.57, 51.57, 303.18°)
OKLaboklab(27.56% 0.017 -0.1246)
OKLCHoklch(27.56% 0.126 277.8)
XYZxyz(3.1135, 1.8299, 11.9911)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1863 #5D6318
analogous
#183863 #1E1863 #441863
triadic
#1E1863 #631E18 #18631E
tetradic
#1E1863 #631838 #5D6318 #186344
square
#1E1863 #631838 #5D6318 #186344
split-complementary
#1E1863 #634418 #386318
monochromatic
#070619 #0F0C32 #1E1863 #2D2494 #3C30C6

Accessibility & contrast

On white

15.37
#1E1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1E1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1863
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1863#FFFFFF#000000##FFFFFF
##1E18631.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e1863;
/* rgb */ color: rgb(30, 24, 99);
/* oklch */ color: oklch(27.6% 0.126 277.8);
Tailwind
colors: {
  custom: {
    50: '#655690',
    500: '#1e1863',
    950: '#000000',
  },
}
SCSS
$custom: #1e1863;
$custom-light: #655690;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1863",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 244.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2756,
    "c": 0.12578,
    "h": 277.8
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#1E1863
secondary
#92993E
accent
#E444D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1E1863

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

Preview Lab → · Contrast checker → · Palette generator →

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