#1E1FA6#1E1FA6

#1E1FA6 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.3% C 0.204 H 269.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#1E1FA6
RGBrgb(30, 31, 166)
HSLhsl(240, 69%, 38%)
HSVhsv(240, 82%, 65%)
CMYKcmyk(81.9%, 81.3%, 0%, 34.9%)
CIE-LABlab(23.70, 47.15, -70.39)
CIE-LCHlch(23.70, 84.72, 303.81°)
OKLaboklab(36.27% -0.0003 -0.2038)
OKLCHoklch(36.27% 0.204 269.9)
XYZxyz(7.9060, 4.0082, 36.4260)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1FA6 #A6A51E
analogous
#1E63A6 #1E1FA6 #611EA6
triadic
#1E1FA6 #A61E1F #1FA61E
tetradic
#1E1FA6 #A61E63 #A6A51E #1EA661
square
#1E1FA6 #A61E63 #A6A51E #1EA661
split-complementary
#1E1FA6 #A6611E #63A61E
monochromatic
#0B0C3E #151572 #1E1FA6 #292AD8 #5D5EE2

Accessibility & contrast

On white

11.66
#1E1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1E1FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1FA6
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1FA6#FFFFFF#000000##FFFFFF
##1E1FA61.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0031A4
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1e1fa6;
/* rgb */ color: rgb(30, 31, 166);
/* oklch */ color: oklch(36.3% 0.204 269.9);
Tailwind
colors: {
  custom: {
    50: '#755ec2',
    500: '#1e1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #1e1fa6;
$custom-light: #755ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1fa6",
  "rgb": {
    "r": 30,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 239.559,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36265,
    "c": 0.20383,
    "h": 269.9
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#1E1FA6
secondary
#C6C55A
accent
#EB3CEC
background
#F7F5FC
surface
#EEE9F8
border
#C9C5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1E1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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