#1E1679#1E1679

#1E1679 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.157 H 274.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#1E1679
RGBrgb(30, 22, 121)
HSLhsl(245, 69%, 28%)
HSVhsv(245, 82%, 47%)
CMYKcmyk(75.2%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.65, 37.05, -54.06)
CIE-LCHlch(16.65, 65.54, 304.42°)
OKLaboklab(29.77% 0.013 -0.1563)
OKLCHoklch(29.77% 0.157 274.7)
XYZxyz(4.2724, 2.2299, 18.2907)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1679 #717916
analogous
#164079 #1E1679 #4F1679
triadic
#1E1679 #791E16 #16791E
tetradic
#1E1679 #791640 #717916 #16794F
square
#1E1679 #791640 #717916 #16794F
split-complementary
#1E1679 #794F16 #407916
monochromatic
#06051A #110D45 #1E1679 #2B1FAD #3E30D9

Accessibility & contrast

On white

14.52
#1E1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1E1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1679
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1679#FFFFFF#000000##FFFFFF
##1E16791.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1e1679;
/* rgb */ color: rgb(30, 22, 121);
/* oklch */ color: oklch(29.8% 0.157 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a56a1',
    500: '#1e1679',
    950: '#000000',
  },
}
SCSS
$custom: #1e1679;
$custom-light: #6a56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1679",
  "rgb": {
    "r": 30,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 244.848,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29772,
    "c": 0.15688,
    "h": 274.7
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#1E1679
secondary
#A5AE3D
accent
#EC3CDE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1E1679

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

Preview Lab → · Contrast checker → · Palette generator →

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