#1E1268#1E1268

#1E1268 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.139 H 278.1°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#1E1268
RGBrgb(30, 18, 104)
HSLhsl(248, 70%, 24%)
HSVhsv(248, 83%, 41%)
CMYKcmyk(71.2%, 82.7%, 0%, 59.2%)
CIE-LABlab(13.87, 33.52, -47.61)
CIE-LCHlch(13.87, 58.23, 305.15°)
OKLaboklab(27.24% 0.0197 -0.1375)
OKLCHoklch(27.24% 0.139 278.1)
XYZxyz(3.2496, 1.7078, 13.2524)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1268 #5C6812
analogous
#123168 #1E1268 #491268
triadic
#1E1268 #681E12 #12681E
tetradic
#1E1268 #681231 #5C6812 #126849
square
#1E1268 #681231 #5C6812 #126849
split-complementary
#1E1268 #684912 #316812
monochromatic
#08051A #0F0934 #1E1268 #2D1B9C #3C24D0

Accessibility & contrast

On white

15.65
#1E1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E1268
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1268#FFFFFF#000000##FFFFFF
##1E12681.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1e1268;
/* rgb */ color: rgb(30, 18, 104);
/* oklch */ color: oklch(27.2% 0.139 278.1);
Tailwind
colors: {
  custom: {
    50: '#665294',
    500: '#1e1268',
    950: '#000000',
  },
}
SCSS
$custom: #1e1268;
$custom-light: #665294;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1268",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 248.372,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27237,
    "c": 0.13894,
    "h": 278.1
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#1E1268
secondary
#91A036
accent
#ED3BD4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1E1268

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

Preview Lab → · Contrast checker → · Palette generator →

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