#1E1977#1E1977

#1E1977 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.151 H 274.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#1E1977
RGBrgb(30, 25, 119)
HSLhsl(243, 65%, 28%)
HSVhsv(243, 79%, 47%)
CMYKcmyk(74.8%, 79%, 0%, 53.3%)
CIE-LABlab(17.00, 34.68, -52.19)
CIE-LCHlch(17.00, 62.67, 303.60°)
OKLaboklab(29.95% 0.012 -0.151)
OKLCHoklch(29.95% 0.151 274.6)
XYZxyz(4.2117, 2.3028, 17.6717)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1977 #727719
analogous
#194377 #1E1977 #4D1977
triadic
#1E1977 #771E19 #19771E
tetradic
#1E1977 #771943 #727719 #19774D
square
#1E1977 #771943 #727719 #19774D
split-complementary
#1E1977 #774D19 #437719
monochromatic
#060519 #110E44 #1E1977 #2B24AA #3E36D5

Accessibility & contrast

On white

14.38
#1E1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1E1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1977
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1977#FFFFFF#000000##FFFFFF
##1E19771.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1e1977;
/* rgb */ color: rgb(30, 25, 119);
/* oklch */ color: oklch(29.9% 0.151 274.6);
Tailwind
colors: {
  custom: {
    50: '#6a579f',
    500: '#1e1977',
    950: '#000000',
  },
}
SCSS
$custom: #1e1977;
$custom-light: #6a579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1977",
  "rgb": {
    "r": 30,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 243.191,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.2995,
    "c": 0.15144,
    "h": 274.6
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#1E1977
secondary
#A6AC40
accent
#E840DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1E1977

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

Preview Lab → · Contrast checker → · Palette generator →

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