#1E1EA8#1E1EA8

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

Color values

HEX#1E1EA8
RGBrgb(30, 30, 168)
HSLhsl(240, 70%, 39%)
HSVhsv(240, 82%, 66%)
CMYKcmyk(82.1%, 82.1%, 0%, 34.1%)
CIE-LABlab(23.77, 48.28, -71.48)
CIE-LCHlch(23.77, 86.26, 304.04°)
OKLaboklab(36.39% -0.0005 -0.207)
OKLCHoklch(36.39% 0.207 269.9)
XYZxyz(8.0652, 4.0308, 37.3911)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1EA8 #A8A81E
analogous
#1E63A8 #1E1EA8 #631EA8
triadic
#1E1EA8 #A81E1E #1EA81E
tetradic
#1E1EA8 #A81E63 #A8A81E #1EA863
square
#1E1EA8 #A81E63 #A8A81E #1EA863
split-complementary
#1E1EA8 #A8631E #63A81E
monochromatic
#0B0B40 #151574 #1E1EA8 #2A2AD9 #5E5EE2

Accessibility & contrast

On white

11.63
#1E1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1E1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1EA8
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1EA8#FFFFFF#000000##FFFFFF
##1E1EA81.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0031A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1e1ea8;
/* rgb */ color: rgb(30, 30, 168);
/* oklch */ color: oklch(36.4% 0.207 269.9);
Tailwind
colors: {
  custom: {
    50: '#765ec3',
    500: '#1e1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #1e1ea8;
$custom-light: #765ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1ea8",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 240,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36387,
    "c": 0.20696,
    "h": 269.9
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#1E1EA8
secondary
#C7C75B
accent
#ED3BED
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0413
muted
#7C7982

Preview Lab

Preview with #1E1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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