#1E1267#1E1267

#1E1267 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.138 H 278.3°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#1E1267
RGBrgb(30, 18, 103)
HSLhsl(248, 70%, 24%)
HSVhsv(248, 83%, 40%)
CMYKcmyk(70.9%, 82.5%, 0%, 59.6%)
CIE-LABlab(13.75, 33.19, -47.15)
CIE-LCHlch(13.75, 57.66, 305.14°)
OKLaboklab(27.12% 0.02 -0.1362)
OKLCHoklch(27.12% 0.138 278.3)
XYZxyz(3.1991, 1.6876, 12.9865)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1267 #5B6712
analogous
#123067 #1E1267 #481267
triadic
#1E1267 #671E12 #12671E
tetradic
#1E1267 #671230 #5B6712 #126748
square
#1E1267 #671230 #5B6712 #126748
split-complementary
#1E1267 #674812 #306712
monochromatic
#08051A #0F0933 #1E1267 #2D1B9B #3C24CF

Accessibility & contrast

On white

15.70
#1E1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1E1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1267
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1267#FFFFFF#000000##FFFFFF
##1E12671.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1267;
/* rgb */ color: rgb(30, 18, 103);
/* oklch */ color: oklch(27.1% 0.138 278.3);
Tailwind
colors: {
  custom: {
    50: '#665293',
    500: '#1e1267',
    950: '#000000',
  },
}
SCSS
$custom: #1e1267;
$custom-light: #665293;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1267",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 248.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2712,
    "c": 0.13765,
    "h": 278.3
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#1E1267
secondary
#909F36
accent
#ED3BD4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1267

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

Preview Lab → · Contrast checker → · Palette generator →

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