#1A1E93#1A1E93

#1A1E93 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.183 H 269.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1A1E93
RGBrgb(26, 30, 147)
HSLhsl(238, 70%, 34%)
HSVhsv(238, 82%, 58%)
CMYKcmyk(82.3%, 79.6%, 0%, 42.4%)
CIE-LABlab(21.03, 41.16, -63.18)
CIE-LCHlch(21.03, 75.41, 303.08°)
OKLaboklab(33.68% -0.0006 -0.183)
OKLCHoklch(33.68% 0.183 269.8)
XYZxyz(6.1549, 3.2540, 27.9018)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E93 #938F1A
analogous
#1A5B93 #1A1E93 #531A93
triadic
#1A1E93 #931A1E #1E931A
tetradic
#1A1E93 #931A5B #938F1A #1A9353
square
#1A1E93 #931A5B #938F1A #1A9353
split-complementary
#1A1E93 #93531A #5B931A
monochromatic
#08092B #11135F #1A1E93 #2329C7 #494EDF

Accessibility & contrast

On white

12.72
#1A1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A1E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E93
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E93#FFFFFF#000000##FFFFFF
##1A1E931.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a1e93;
/* rgb */ color: rgb(26, 30, 147);
/* oklch */ color: oklch(33.7% 0.183 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f5cb4',
    500: '#1a1e93',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e93;
$custom-light: #6f5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e93",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 238.017,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33685,
    "c": 0.183,
    "h": 269.8
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#1A1E93
secondary
#C0BC48
accent
#E73BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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