#1E1262#1E1262

#1E1262 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.131 H 279.4°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#1E1262
RGBrgb(30, 18, 98)
HSLhsl(249, 69%, 23%)
HSVhsv(249, 82%, 38%)
CMYKcmyk(69.4%, 81.6%, 0%, 61.6%)
CIE-LABlab(13.17, 31.50, -44.80)
CIE-LCHlch(13.17, 54.76, 305.11°)
OKLaboklab(26.54% 0.0214 -0.1293)
OKLCHoklch(26.54% 0.131 279.4)
XYZxyz(2.9556, 1.5902, 11.7041)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1262 #566212
analogous
#122E62 #1E1262 #461262
triadic
#1E1262 #621E12 #12621E
tetradic
#1E1262 #62122E #566212 #126246
square
#1E1262 #62122E #566212 #126246
split-complementary
#1E1262 #624612 #2E6212
monochromatic
#08051A #0E092E #1E1262 #2E1B96 #3E25C9

Accessibility & contrast

On white

15.93
#1E1262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1E1262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1262
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1262#FFFFFF#000000##FFFFFF
##1E12621.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001F61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1262;
/* rgb */ color: rgb(30, 18, 98);
/* oklch */ color: oklch(26.5% 0.131 279.4);
Tailwind
colors: {
  custom: {
    50: '#655290',
    500: '#1e1262',
    950: '#000000',
  },
}
SCSS
$custom: #1e1262;
$custom-light: #655290;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1262",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 249,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26538,
    "c": 0.13111,
    "h": 279.4
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#1E1262
secondary
#8B9A36
accent
#EC3CD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #1E1262

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

Preview Lab → · Contrast checker → · Palette generator →

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