#1E1F74#1E1F74

#1E1F74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.141 H 273.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#1E1F74
RGBrgb(30, 31, 116)
HSLhsl(239, 59%, 29%)
HSVhsv(239, 74%, 45%)
CMYKcmyk(74.1%, 73.3%, 0%, 54.5%)
CIE-LABlab(17.99, 29.92, -48.63)
CIE-LCHlch(17.99, 57.10, 301.60°)
OKLaboklab(30.56% 0.0092 -0.1406)
OKLCHoklch(30.56% 0.141 273.7)
XYZxyz(4.1767, 2.5165, 16.7852)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F74 #74731E
analogous
#1E4A74 #1E1F74 #481E74
triadic
#1E1F74 #741E1F #1F741E
tetradic
#1E1F74 #741E4A #74731E #1E7448
square
#1E1F74 #741E4A #74731E #1E7448
split-complementary
#1E1F74 #74481E #4A741E
monochromatic
#060618 #111243 #1E1F74 #2B2CA5 #3F41CD

Accessibility & contrast

On white

13.97
#1E1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E1F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F74
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F74#FFFFFF#000000##FFFFFF
##1E1F741.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e1f74;
/* rgb */ color: rgb(30, 31, 116);
/* oklch */ color: oklch(30.6% 0.141 273.7);
Tailwind
colors: {
  custom: {
    50: '#685b9d',
    500: '#1e1f74',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f74;
$custom-light: #685b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f74",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 239.302,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30557,
    "c": 0.14091,
    "h": 273.7
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#1E1F74
secondary
#A8A746
accent
#E046E2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1E1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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