#1E1FB1#1E1FB1

#1E1FB1 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.217 H 269.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1E1FB1
RGBrgb(30, 31, 177)
HSLhsl(240, 71%, 41%)
HSVhsv(240, 83%, 69%)
CMYKcmyk(83.1%, 82.5%, 0%, 30.6%)
CIE-LABlab(25.04, 50.64, -74.79)
CIE-LCHlch(25.04, 90.32, 304.10°)
OKLaboklab(37.59% -0.0026 -0.2165)
OKLCHoklch(37.59% 0.217 269.3)
XYZxyz(8.9585, 4.4292, 41.9692)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1FB1 #B1B01E
analogous
#1E68B1 #1E1FB1 #661EB1
triadic
#1E1FB1 #B11E1F #1FB11E
tetradic
#1E1FB1 #B11E68 #B1B01E #1EB166
square
#1E1FB1 #B11E68 #B1B01E #1EB166
split-complementary
#1E1FB1 #B1661E #68B11E
monochromatic
#0C0D48 #15167D #1E1FB1 #3031DC #6565E5

Accessibility & contrast

On white

11.13
#1E1FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1E1FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1FB1
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1FB1#FFFFFF#000000##FFFFFF
##1E1FB11.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0033AF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1e1fb1;
/* rgb */ color: rgb(30, 31, 177);
/* oklch */ color: oklch(37.6% 0.217 269.3);
Tailwind
colors: {
  custom: {
    50: '#785fca',
    500: '#1e1fb1',
    950: '#000000',
  },
}
SCSS
$custom: #1e1fb1;
$custom-light: #785fca;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1fb1",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 239.592,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37585,
    "c": 0.21657,
    "h": 269.3
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#1E1FB1
secondary
#CAC961
accent
#ED3AEE
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #1E1FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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