#1E1963#1E1963

#1E1963 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.125 H 277.5°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#1E1963
RGBrgb(30, 25, 99)
HSLhsl(244, 60%, 24%)
HSVhsv(244, 75%, 39%)
CMYKcmyk(69.7%, 74.7%, 0%, 61.2%)
CIE-LABlab(14.80, 27.58, -42.78)
CIE-LCHlch(14.80, 50.90, 302.81°)
OKLaboklab(27.73% 0.0163 -0.1235)
OKLCHoklch(27.73% 0.125 277.5)
XYZxyz(3.1345, 1.8719, 11.9981)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1963 #5E6319
analogous
#193963 #1E1963 #431963
triadic
#1E1963 #631E19 #19631E
tetradic
#1E1963 #631939 #5E6319 #196343
square
#1E1963 #631939 #5E6319 #196343
split-complementary
#1E1963 #634319 #396319
monochromatic
#070618 #0F0D32 #1E1963 #2D2594 #3C32C5

Accessibility & contrast

On white

15.28
#1E1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1963
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1963#FFFFFF#000000##FFFFFF
##1E19631.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1963;
/* rgb */ color: rgb(30, 25, 99);
/* oklch */ color: oklch(27.7% 0.125 277.5);
Tailwind
colors: {
  custom: {
    50: '#645690',
    500: '#1e1963',
    950: '#000000',
  },
}
SCSS
$custom: #1e1963;
$custom-light: #645690;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1963",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 244.054,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27726,
    "c": 0.12458,
    "h": 277.5
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#1E1963
secondary
#93993F
accent
#E345D8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1E1963

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

Preview Lab → · Contrast checker → · Palette generator →

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