#1A1E8D#1A1E8D

#1A1E8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.176 H 270.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1A1E8D
RGBrgb(26, 30, 141)
HSLhsl(238, 69%, 33%)
HSVhsv(238, 82%, 55%)
CMYKcmyk(81.6%, 78.7%, 0%, 44.7%)
CIE-LABlab(20.32, 39.10, -60.63)
CIE-LCHlch(20.32, 72.14, 302.82°)
OKLaboklab(32.98% 0.0005 -0.1756)
OKLCHoklch(32.98% 0.176 270.2)
XYZxyz(5.6964, 3.0706, 25.4866)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E8D #8D891A
analogous
#1A578D #1A1E8D #4F1A8D
triadic
#1A1E8D #8D1A1E #1E8D1A
tetradic
#1A1E8D #8D1A57 #8D891A #1A8D4F
square
#1A1E8D #8D1A57 #8D891A #1A8D4F
split-complementary
#1A1E8D #8D4F1A #578D1A
monochromatic
#070826 #101359 #1A1E8D #2429C1 #454ADD

Accessibility & contrast

On white

13.01
#1A1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A1E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E8D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E8D#FFFFFF#000000##FFFFFF
##1A1E8D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a1e8d;
/* rgb */ color: rgb(26, 30, 141);
/* oklch */ color: oklch(33.0% 0.176 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e5cb0',
    500: '#1a1e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e8d;
$custom-light: #6e5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e8d",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 237.913,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32979,
    "c": 0.1756,
    "h": 270.2
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#1A1E8D
secondary
#BEBA45
accent
#E63CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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