#1E1964#1E1964

#1E1964 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.126 H 277.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#1E1964
RGBrgb(30, 25, 100)
HSLhsl(244, 60%, 25%)
HSVhsv(244, 75%, 39%)
CMYKcmyk(70%, 75%, 0%, 60.8%)
CIE-LABlab(14.91, 27.95, -43.27)
CIE-LCHlch(14.91, 51.51, 302.86°)
OKLaboklab(27.83% 0.0161 -0.1249)
OKLCHoklch(27.83% 0.126 277.3)
XYZxyz(3.1826, 1.8911, 12.2514)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1964 #5F6419
analogous
#193A64 #1E1964 #441964
triadic
#1E1964 #641E19 #19641E
tetradic
#1E1964 #64193A #5F6419 #196444
square
#1E1964 #64193A #5F6419 #196444
split-complementary
#1E1964 #644419 #3A6419
monochromatic
#070618 #0F0D33 #1E1964 #2D2595 #3B31C6

Accessibility & contrast

On white

15.24
#1E1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1E1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1964
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1964#FFFFFF#000000##FFFFFF
##1E19641.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e1964;
/* rgb */ color: rgb(30, 25, 100);
/* oklch */ color: oklch(27.8% 0.126 277.3);
Tailwind
colors: {
  custom: {
    50: '#655691',
    500: '#1e1964',
    950: '#000000',
  },
}
SCSS
$custom: #1e1964;
$custom-light: #655691;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1964",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 244,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27833,
    "c": 0.12596,
    "h": 277.3
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#1E1964
secondary
#949A3F
accent
#E345D9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1E1964

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

Preview Lab → · Contrast checker → · Palette generator →

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