#1E1A63#1E1A63

#1E1A63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.123 H 277.2°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#1E1A63
RGBrgb(30, 26, 99)
HSLhsl(243, 58%, 25%)
HSVhsv(243, 74%, 39%)
CMYKcmyk(69.7%, 73.7%, 0%, 61.2%)
CIE-LABlab(15.04, 26.93, -42.39)
CIE-LCHlch(15.04, 50.22, 302.43°)
OKLaboklab(27.9% 0.0155 -0.1224)
OKLCHoklch(27.9% 0.123 277.2)
XYZxyz(3.1562, 1.9154, 12.0053)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1A63 #5F631A
analogous
#1A3B63 #1E1A63 #431A63
triadic
#1E1A63 #631E1A #1A631E
tetradic
#1E1A63 #631A3B #5F631A #1A6343
square
#1E1A63 #631A3B #5F631A #1A6343
split-complementary
#1E1A63 #63431A #3B631A
monochromatic
#070618 #0F0D33 #1E1A63 #2D2793 #3B33C4

Accessibility & contrast

On white

15.18
#1E1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1A63
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1A63#FFFFFF#000000##FFFFFF
##1E1A631.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1a63;
/* rgb */ color: rgb(30, 26, 99);
/* oklch */ color: oklch(27.9% 0.123 277.2);
Tailwind
colors: {
  custom: {
    50: '#645790',
    500: '#1e1a63',
    950: '#000000',
  },
}
SCSS
$custom: #1e1a63;
$custom-light: #645790;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1a63",
  "rgb": {
    "r": 30,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 243.288,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.12335,
    "h": 277.2
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#1E1A63
secondary
#949940
accent
#E246D9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1E1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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