#1E1970#1E1970

#1E1970 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.142 H 275.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1970
RGBrgb(30, 25, 112)
HSLhsl(243, 64%, 27%)
HSVhsv(243, 78%, 44%)
CMYKcmyk(73.2%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.21, 32.24, -48.98)
CIE-LCHlch(16.21, 58.64, 303.35°)
OKLaboklab(29.15% 0.0136 -0.1416)
OKLCHoklch(29.15% 0.142 275.5)
XYZxyz(3.8067, 2.1408, 15.5387)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1970 #6B7019
analogous
#194070 #1E1970 #4A1970
triadic
#1E1970 #701E19 #19701E
tetradic
#1E1970 #701940 #6B7019 #19704A
square
#1E1970 #701940 #6B7019 #19704A
split-complementary
#1E1970 #704A19 #407019
monochromatic
#070619 #110E3E #1E1970 #2B24A2 #3B32D1

Accessibility & contrast

On white

14.70
#1E1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1970
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1970#FFFFFF#000000##FFFFFF
##1E19701.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e1970;
/* rgb */ color: rgb(30, 25, 112);
/* oklch */ color: oklch(29.2% 0.142 275.5);
Tailwind
colors: {
  custom: {
    50: '#68579a',
    500: '#1e1970',
    950: '#000000',
  },
}
SCSS
$custom: #1e1970;
$custom-light: #68579a;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1970",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 243.448,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29154,
    "c": 0.14226,
    "h": 275.5
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#1E1970
secondary
#9FA540
accent
#E741DD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1E1970

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

Preview Lab → · Contrast checker → · Palette generator →

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