#1E1E9F#1E1E9F

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

Color values

HEX#1E1E9F
RGBrgb(30, 30, 159)
HSLhsl(240, 68%, 37%)
HSVhsv(240, 81%, 62%)
CMYKcmyk(81.1%, 81.1%, 0%, 37.6%)
CIE-LABlab(22.68, 45.39, -67.83)
CIE-LCHlch(22.68, 81.62, 303.79°)
OKLaboklab(35.31% 0.0014 -0.1964)
OKLCHoklch(35.31% 0.196 270.4)
XYZxyz(7.2556, 3.7069, 33.1273)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E9F #9F9F1E
analogous
#1E5F9F #1E1E9F #5F1E9F
triadic
#1E1E9F #9F1E1E #1E9F1E
tetradic
#1E1E9F #9F1E5F #9F9F1E #1E9F5F
square
#1E1E9F #9F1E5F #9F9F1E #1E9F5F
split-complementary
#1E1E9F #9F5F1E #5F9F1E
monochromatic
#0B0B38 #14146C #1E1E9F #2828D2 #5858DF

Accessibility & contrast

On white

12.06
#1E1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1E1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E9F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E9F#FFFFFF#000000##FFFFFF
##1E1E9F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e1e9f;
/* rgb */ color: rgb(30, 30, 159);
/* oklch */ color: oklch(35.3% 0.196 270.4);
Tailwind
colors: {
  custom: {
    50: '#745dbd',
    500: '#1e1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e9f;
$custom-light: #745dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e9f",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35309,
    "c": 0.19639,
    "h": 270.4
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#1E1E9F
secondary
#C3C356
accent
#EB3DEB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1E1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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