#1E1F9F#1E1F9F

#1E1F9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.196 H 270.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1E1F9F
RGBrgb(30, 31, 159)
HSLhsl(240, 68%, 37%)
HSVhsv(240, 81%, 62%)
CMYKcmyk(81.1%, 80.5%, 0%, 37.6%)
CIE-LABlab(22.86, 44.87, -67.53)
CIE-LCHlch(22.86, 81.08, 303.60°)
OKLaboklab(35.43% 0.0011 -0.1956)
OKLCHoklch(35.43% 0.196 270.3)
XYZxyz(7.2813, 3.7584, 33.1358)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1F9F #9F9E1E
analogous
#1E609F #1E1F9F #5E1E9F
triadic
#1E1F9F #9F1E1F #1F9F1E
tetradic
#1E1F9F #9F1E60 #9F9E1E #1E9F5E
square
#1E1F9F #9F1E60 #9F9E1E #1E9F5E
split-complementary
#1E1F9F #9F5E1E #609F1E
monochromatic
#0B0B38 #14156C #1E1F9F #2829D2 #5859DF

Accessibility & contrast

On white

11.99
#1E1F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1F9F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1F9F#FFFFFF#000000##FFFFFF
##1E1F9F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e1f9f;
/* rgb */ color: rgb(30, 31, 159);
/* oklch */ color: oklch(35.4% 0.196 270.3);
Tailwind
colors: {
  custom: {
    50: '#735ebd',
    500: '#1e1f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e1f9f;
$custom-light: #735ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1f9f",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 239.535,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35434,
    "c": 0.19556,
    "h": 270.3
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E1F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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