#1E1774#1E1774

#1E1774 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.150 H 275.3°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#1E1774
RGBrgb(30, 23, 116)
HSLhsl(245, 67%, 27%)
HSVhsv(245, 80%, 45%)
CMYKcmyk(74.1%, 80.2%, 0%, 54.5%)
CIE-LABlab(16.25, 34.80, -51.50)
CIE-LCHlch(16.25, 62.16, 304.05°)
OKLaboklab(29.32% 0.0138 -0.1489)
OKLCHoklch(29.32% 0.15 275.3)
XYZxyz(3.9932, 2.1494, 16.7240)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1774 #6D7417
analogous
#173F74 #1E1774 #4D1774
triadic
#1E1774 #741E17 #17741E
tetradic
#1E1774 #74173F #6D7417 #17744D
square
#1E1774 #74173F #6D7417 #17744D
split-complementary
#1E1774 #744D17 #3F7417
monochromatic
#07051A #110D41 #1E1774 #2B21A7 #3C30D6

Accessibility & contrast

On white

14.69
#1E1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1774
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1774#FFFFFF#000000##FFFFFF
##1E17741.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1774;
/* rgb */ color: rgb(30, 23, 116);
/* oklch */ color: oklch(29.3% 0.150 275.3);
Tailwind
colors: {
  custom: {
    50: '#69569d',
    500: '#1e1774',
    950: '#000000',
  },
}
SCSS
$custom: #1e1774;
$custom-light: #69569d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1774",
  "rgb": {
    "r": 30,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 244.516,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.2932,
    "c": 0.14956,
    "h": 275.3
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#1E1774
secondary
#A1A93D
accent
#EA3EDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1774

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

Preview Lab → · Contrast checker → · Palette generator →

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