#1E1F77#1E1F77

#1E1F77 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.145 H 273.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#1E1F77
RGBrgb(30, 31, 119)
HSLhsl(239, 60%, 29%)
HSVhsv(239, 75%, 47%)
CMYKcmyk(74.8%, 73.9%, 0%, 53.3%)
CIE-LABlab(18.31, 31.02, -50.04)
CIE-LCHlch(18.31, 58.87, 301.79°)
OKLaboklab(30.88% 0.0087 -0.1447)
OKLCHoklch(30.88% 0.145 273.4)
XYZxyz(4.3541, 2.5875, 17.7192)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F77 #77761E
analogous
#1E4C77 #1E1F77 #4A1E77
triadic
#1E1F77 #771E1F #1F771E
tetradic
#1E1F77 #771E4C #77761E #1E774A
square
#1E1F77 #771E4C #77761E #1E774A
split-complementary
#1E1F77 #774A1E #4C771E
monochromatic
#060618 #121246 #1E1F77 #2A2CA8 #4042CF

Accessibility & contrast

On white

13.84
#1E1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1E1F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F77
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F77#FFFFFF#000000##FFFFFF
##1E1F771.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002875
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1f77;
/* rgb */ color: rgb(30, 31, 119);
/* oklch */ color: oklch(30.9% 0.145 273.4);
Tailwind
colors: {
  custom: {
    50: '#695b9f',
    500: '#1e1f77',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f77;
$custom-light: #695b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f77",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 239.326,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30879,
    "c": 0.14497,
    "h": 273.4
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#1E1F77
secondary
#ABAA46
accent
#E145E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1E1F77

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

Preview Lab → · Contrast checker → · Palette generator →

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