#1E1676#1E1676

#1E1676 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.153 H 275.2°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#1E1676
RGBrgb(30, 22, 118)
HSLhsl(245, 69%, 27%)
HSVhsv(245, 81%, 46%)
CMYKcmyk(74.6%, 81.4%, 0%, 53.7%)
CIE-LABlab(16.29, 36.04, -52.72)
CIE-LCHlch(16.29, 63.86, 304.35°)
OKLaboklab(29.42% 0.0138 -0.1525)
OKLCHoklch(29.42% 0.153 275.2)
XYZxyz(4.0913, 2.1574, 17.3368)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1676 #6E7616
analogous
#163E76 #1E1676 #4E1676
triadic
#1E1676 #761E16 #16761E
tetradic
#1E1676 #76163E #6E7616 #16764E
square
#1E1676 #76163E #6E7616 #16764E
split-complementary
#1E1676 #764E16 #3E7616
monochromatic
#07051A #110C42 #1E1676 #2B20AA #3C2ED8

Accessibility & contrast

On white

14.67
#1E1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1E1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1676
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1676#FFFFFF#000000##FFFFFF
##1E16761.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1676;
/* rgb */ color: rgb(30, 22, 118);
/* oklch */ color: oklch(29.4% 0.153 275.2);
Tailwind
colors: {
  custom: {
    50: '#6a569f',
    500: '#1e1676',
    950: '#000000',
  },
}
SCSS
$custom: #1e1676;
$custom-light: #6a569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1676",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 245,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29417,
    "c": 0.15308,
    "h": 275.2
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#1E1676
secondary
#A2AC3C
accent
#EB3CDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1676

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

Preview Lab → · Contrast checker → · Palette generator →

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