#1E1763#1E1763

#1E1763 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.127 H 278.0°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#1E1763
RGBrgb(30, 23, 99)
HSLhsl(246, 62%, 24%)
HSVhsv(246, 77%, 39%)
CMYKcmyk(69.7%, 76.8%, 0%, 61.2%)
CIE-LABlab(14.34, 28.86, -43.54)
CIE-LCHlch(14.34, 52.23, 303.54°)
OKLaboklab(27.4% 0.0178 -0.1257)
OKLCHoklch(27.4% 0.127 278)
XYZxyz(3.0932, 1.7894, 11.9843)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1763 #5C6317
analogous
#173663 #1E1763 #441763
triadic
#1E1763 #631E17 #17631E
tetradic
#1E1763 #631736 #5C6317 #176344
square
#1E1763 #631736 #5C6317 #176344
split-complementary
#1E1763 #634417 #366317
monochromatic
#080619 #0F0B31 #1E1763 #2D2395 #3C2EC6

Accessibility & contrast

On white

15.46
#1E1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1E1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1763
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1763#FFFFFF#000000##FFFFFF
##1E17631.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1e1763;
/* rgb */ color: rgb(30, 23, 99);
/* oklch */ color: oklch(27.4% 0.127 278.0);
Tailwind
colors: {
  custom: {
    50: '#655590',
    500: '#1e1763',
    950: '#000000',
  },
}
SCSS
$custom: #1e1763;
$custom-light: #655590;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1763",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 245.526,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27398,
    "c": 0.12695,
    "h": 278
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#1E1763
secondary
#919A3C
accent
#E542D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1E1763

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

Preview Lab → · Contrast checker → · Palette generator →

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