#1E1768#1E1768

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

Color values

HEX#1E1768
RGBrgb(30, 23, 104)
HSLhsl(245, 64%, 25%)
HSVhsv(245, 78%, 41%)
CMYKcmyk(71.2%, 77.9%, 0%, 59.2%)
CIE-LABlab(14.89, 30.63, -45.93)
CIE-LCHlch(14.89, 55.21, 303.69°)
OKLaboklab(27.95% 0.0167 -0.1327)
OKLCHoklch(27.95% 0.134 277.2)
XYZxyz(3.3397, 1.8880, 13.2824)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1768 #616817
analogous
#173968 #1E1768 #461768
triadic
#1E1768 #681E17 #17681E
tetradic
#1E1768 #681739 #616817 #176846
square
#1E1768 #681739 #616817 #176846
split-complementary
#1E1768 #684617 #396817
monochromatic
#070619 #100C36 #1E1768 #2C229A #3B2DCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1E1768#FFFFFF#000000##FFFFFF
##1E17681.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)
#00296A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1e1768;
/* rgb */ color: rgb(30, 23, 104);
/* oklch */ color: oklch(28.0% 0.134 277.2);
Tailwind
colors: {
  custom: {
    50: '#665594',
    500: '#1e1768',
    950: '#000000',
  },
}
SCSS
$custom: #1e1768;
$custom-light: #665594;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1768",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 245.185,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27952,
    "c": 0.13375,
    "h": 277.2
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#1E1768
secondary
#969E3D
accent
#E741D8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1E1768

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

Preview Lab → · Contrast checker → · Palette generator →

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