#1E1FB3#1E1FB3

#1E1FB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.219 H 269.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#1E1FB3
RGBrgb(30, 31, 179)
HSLhsl(240, 71%, 41%)
HSVhsv(240, 83%, 70%)
CMYKcmyk(83.2%, 82.7%, 0%, 29.8%)
CIE-LABlab(25.29, 51.26, -75.58)
CIE-LCHlch(25.29, 91.32, 304.15°)
OKLaboklab(37.83% -0.003 -0.2188)
OKLCHoklch(37.83% 0.219 269.2)
XYZxyz(9.1593, 4.5096, 43.0268)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1FB3 #B3B21E
analogous
#1E69B3 #1E1FB3 #671EB3
triadic
#1E1FB3 #B31E1F #1FB31E
tetradic
#1E1FB3 #B31E69 #B3B21E #1EB367
square
#1E1FB3 #B31E69 #B3B21E #1EB367
split-complementary
#1E1FB3 #B3671E #69B31E
monochromatic
#0C0D4A #15167F #1E1FB3 #3233DD #6667E5

Accessibility & contrast

On white

11.04
#1E1FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1E1FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1FB3
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1FB3#FFFFFF#000000##FFFFFF
##1E1FB31.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1e1fb3;
/* rgb */ color: rgb(30, 31, 179);
/* oklch */ color: oklch(37.8% 0.219 269.2);
Tailwind
colors: {
  custom: {
    50: '#795fcb',
    500: '#1e1fb3',
    950: '#000000',
  },
}
SCSS
$custom: #1e1fb3;
$custom-light: #795fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1fb3",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 239.597,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.21885,
    "h": 269.2
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#1E1FB3
secondary
#CBCA62
accent
#ED3AEE
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1E1FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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