#1E1F9E#1E1F9E

#1E1F9E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.194 H 270.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1E1F9E
RGBrgb(30, 31, 158)
HSLhsl(240, 68%, 37%)
HSVhsv(240, 81%, 62%)
CMYKcmyk(81%, 80.4%, 0%, 38%)
CIE-LABlab(22.74, 44.54, -67.12)
CIE-LCHlch(22.74, 80.56, 303.57°)
OKLaboklab(35.32% 0.0013 -0.1944)
OKLCHoklch(35.32% 0.194 270.4)
XYZxyz(7.1949, 3.7238, 32.6807)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F9E #9E9D1E
analogous
#1E5F9E #1E1F9E #5D1E9E
triadic
#1E1F9E #9E1E1F #1F9E1E
tetradic
#1E1F9E #9E1E5F #9E9D1E #1E9E5D
square
#1E1F9E #9E1E5F #9E9D1E #1E9E5D
split-complementary
#1E1F9E #9E5D1E #5F9E1E
monochromatic
#0A0B37 #14156B #1E1F9E #2829D1 #5758DF

Accessibility & contrast

On white

12.03
#1E1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1E1F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1F9E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F9E#FFFFFF#000000##FFFFFF
##1E1F9E1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e1f9e;
/* rgb */ color: rgb(30, 31, 158);
/* oklch */ color: oklch(35.3% 0.194 270.4);
Tailwind
colors: {
  custom: {
    50: '#735dbc',
    500: '#1e1f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f9e;
$custom-light: #735dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f9e",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 239.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35315,
    "c": 0.19436,
    "h": 270.4
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#1E1F9E
secondary
#C3C255
accent
#EA3DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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