#1E1677#1E1677

#1E1677 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.154 H 275.0°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#1E1677
RGBrgb(30, 22, 119)
HSLhsl(245, 69%, 28%)
HSVhsv(245, 82%, 47%)
CMYKcmyk(74.8%, 81.5%, 0%, 53.3%)
CIE-LABlab(16.41, 36.38, -53.17)
CIE-LCHlch(16.41, 64.42, 304.38°)
OKLaboklab(29.54% 0.0135 -0.1538)
OKLCHoklch(29.54% 0.154 275)
XYZxyz(4.1510, 2.1813, 17.6515)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1677 #6F7716
analogous
#163F77 #1E1677 #4E1677
triadic
#1E1677 #771E16 #16771E
tetradic
#1E1677 #77163F #6F7716 #16774E
square
#1E1677 #77163F #6F7716 #16774E
split-complementary
#1E1677 #774E16 #3F7716
monochromatic
#07051A #110C43 #1E1677 #2B20AB #3D2FD9

Accessibility & contrast

On white

14.62
#1E1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1E1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1677
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1677#FFFFFF#000000##FFFFFF
##1E16771.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1677;
/* rgb */ color: rgb(30, 22, 119);
/* oklch */ color: oklch(29.5% 0.154 275.0);
Tailwind
colors: {
  custom: {
    50: '#6a569f',
    500: '#1e1677',
    950: '#000000',
  },
}
SCSS
$custom: #1e1677;
$custom-light: #6a569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1677",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 244.948,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29535,
    "c": 0.15435,
    "h": 275
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#1E1677
secondary
#A3AC3C
accent
#EC3CDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1677

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

Preview Lab → · Contrast checker → · Palette generator →

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