#1E1F79#1E1F79

#1E1F79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.148 H 273.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#1E1F79
RGBrgb(30, 31, 121)
HSLhsl(239, 60%, 30%)
HSVhsv(239, 75%, 47%)
CMYKcmyk(75.2%, 74.4%, 0%, 52.5%)
CIE-LABlab(18.52, 31.75, -50.97)
CIE-LCHlch(18.52, 60.05, 301.92°)
OKLaboklab(31.1% 0.0084 -0.1474)
OKLCHoklch(31.1% 0.148 273.2)
XYZxyz(4.4754, 2.6360, 18.3584)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F79 #79781E
analogous
#1E4C79 #1E1F79 #4B1E79
triadic
#1E1F79 #791E1F #1F791E
tetradic
#1E1F79 #791E4C #79781E #1E794B
square
#1E1F79 #791E4C #79781E #1E794B
split-complementary
#1E1F79 #794B1E #4C791E
monochromatic
#060619 #121248 #1E1F79 #2A2CAA #4143D0

Accessibility & contrast

On white

13.75
#1E1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1E1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F79
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F79#FFFFFF#000000##FFFFFF
##1E1F791.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1e1f79;
/* rgb */ color: rgb(30, 31, 121);
/* oklch */ color: oklch(31.1% 0.148 273.2);
Tailwind
colors: {
  custom: {
    50: '#695ba1',
    500: '#1e1f79',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f79;
$custom-light: #695ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f79",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 239.341,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31096,
    "c": 0.14767,
    "h": 273.2
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#1E1F79
secondary
#ADAB46
accent
#E244E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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