#1E1470#1E1470

#1E1470 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.147 H 276.4°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#1E1470
RGBrgb(30, 20, 112)
HSLhsl(247, 70%, 26%)
HSVhsv(247, 82%, 44%)
CMYKcmyk(73.2%, 82.1%, 0%, 56.1%)
CIE-LABlab(15.20, 35.11, -50.65)
CIE-LCHlch(15.20, 61.63, 304.73°)
OKLaboklab(28.44% 0.0163 -0.1464)
OKLCHoklch(28.44% 0.147 276.4)
XYZxyz(3.7093, 1.9458, 15.5062)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1470 #667014
analogous
#143870 #1E1470 #4C1470
triadic
#1E1470 #701E14 #14701E
tetradic
#1E1470 #701438 #667014 #14704C
square
#1E1470 #701438 #667014 #14704C
split-complementary
#1E1470 #704C14 #387014
monochromatic
#07051A #100B3C #1E1470 #2C1DA4 #3A27D8

Accessibility & contrast

On white

15.12
#1E1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1E1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1470
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1470#FFFFFF#000000##FFFFFF
##1E14701.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1e1470;
/* rgb */ color: rgb(30, 20, 112);
/* oklch */ color: oklch(28.4% 0.147 276.4);
Tailwind
colors: {
  custom: {
    50: '#68549a',
    500: '#1e1470',
    950: '#000000',
  },
}
SCSS
$custom: #1e1470;
$custom-light: #68549a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1470",
  "rgb": {
    "r": 30,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 246.522,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28444,
    "c": 0.14731,
    "h": 276.4
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#1E1470
secondary
#9BA639
accent
#ED3BD9
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1470

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

Preview Lab → · Contrast checker → · Palette generator →

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