#1E1263#1E1263

#1E1263 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.132 H 279.2°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#1E1263
RGBrgb(30, 18, 99)
HSLhsl(249, 69%, 23%)
HSVhsv(249, 82%, 39%)
CMYKcmyk(69.7%, 81.8%, 0%, 61.2%)
CIE-LABlab(13.29, 31.84, -45.27)
CIE-LCHlch(13.29, 55.35, 305.11°)
OKLaboklab(26.65% 0.0211 -0.1307)
OKLCHoklch(26.65% 0.132 279.2)
XYZxyz(3.0031, 1.6092, 11.9543)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1263 #576312
analogous
#122E63 #1E1263 #461263
triadic
#1E1263 #631E12 #12631E
tetradic
#1E1263 #63122E #576312 #126346
square
#1E1263 #63122E #576312 #126346
split-complementary
#1E1263 #634612 #2E6312
monochromatic
#08051A #0E092F #1E1263 #2E1B97 #3D25CB

Accessibility & contrast

On white

15.89
#1E1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1263
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1263#FFFFFF#000000##FFFFFF
##1E12631.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#001F62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1e1263;
/* rgb */ color: rgb(30, 18, 99);
/* oklch */ color: oklch(26.7% 0.132 279.2);
Tailwind
colors: {
  custom: {
    50: '#655290',
    500: '#1e1263',
    950: '#000000',
  },
}
SCSS
$custom: #1e1263;
$custom-light: #655290;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1263",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 248.889,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26654,
    "c": 0.13243,
    "h": 279.2
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#1E1263
secondary
#8C9B36
accent
#EC3CD2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1E1263

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

Preview Lab → · Contrast checker → · Palette generator →

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