#1E1776#1E1776

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

Color values

HEX#1E1776
RGBrgb(30, 23, 118)
HSLhsl(244, 67%, 28%)
HSVhsv(244, 81%, 46%)
CMYKcmyk(74.6%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.49, 35.48, -52.40)
CIE-LCHlch(16.49, 63.29, 304.10°)
OKLaboklab(29.55% 0.0133 -0.1515)
OKLCHoklch(29.55% 0.152 275)
XYZxyz(4.1108, 2.1964, 17.3433)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1776 #6F7617
analogous
#173F76 #1E1776 #4D1776
triadic
#1E1776 #761E17 #17761E
tetradic
#1E1776 #76173F #6F7617 #17764D
square
#1E1776 #76173F #6F7617 #17764D
split-complementary
#1E1776 #764D17 #3F7617
monochromatic
#07051A #110D43 #1E1776 #2B21A9 #3D31D7

Accessibility & contrast

On white

14.59
#1E1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1776
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1776#FFFFFF#000000##FFFFFF
##1E17761.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1776;
/* rgb */ color: rgb(30, 23, 118);
/* oklch */ color: oklch(29.6% 0.152 275.0);
Tailwind
colors: {
  custom: {
    50: '#69569f',
    500: '#1e1776',
    950: '#000000',
  },
}
SCSS
$custom: #1e1776;
$custom-light: #69569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1776",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 244.421,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29553,
    "c": 0.15212,
    "h": 275
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#1E1776
secondary
#A3AB3E
accent
#EA3EDE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1776

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

Preview Lab → · Contrast checker → · Palette generator →

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