#1E1261#1E1261

#1E1261 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.130 H 279.6°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#1E1261
RGBrgb(30, 18, 97)
HSLhsl(249, 69%, 23%)
HSVhsv(249, 81%, 38%)
CMYKcmyk(69.1%, 81.4%, 0%, 62%)
CIE-LABlab(13.06, 31.16, -44.32)
CIE-LCHlch(13.06, 54.18, 305.10°)
OKLaboklab(26.42% 0.0217 -0.128)
OKLCHoklch(26.42% 0.13 279.6)
XYZxyz(2.9087, 1.5715, 11.4570)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1261 #556112
analogous
#122D61 #1E1261 #461261
triadic
#1E1261 #611E12 #12611E
tetradic
#1E1261 #61122D #556112 #126146
square
#1E1261 #61122D #556112 #126146
split-complementary
#1E1261 #614612 #2D6112
monochromatic
#08051A #0E082D #1E1261 #2E1C95 #3E25C8

Accessibility & contrast

On white

15.98
#1E1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1E1261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1261
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1261#FFFFFF#000000##FFFFFF
##1E12611.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e1261;
/* rgb */ color: rgb(30, 18, 97);
/* oklch */ color: oklch(26.4% 0.130 279.6);
Tailwind
colors: {
  custom: {
    50: '#65528f',
    500: '#1e1261',
    950: '#000000',
  },
}
SCSS
$custom: #1e1261;
$custom-light: #65528f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1261",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 249.114,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26423,
    "c": 0.1298,
    "h": 279.6
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#1E1261
secondary
#8A9936
accent
#EC3CD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E1261

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

Preview Lab → · Contrast checker → · Palette generator →

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