#1A1E8E#1A1E8E

#1A1E8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.177 H 270.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1A1E8E
RGBrgb(26, 30, 142)
HSLhsl(238, 69%, 33%)
HSVhsv(238, 82%, 56%)
CMYKcmyk(81.7%, 78.9%, 0%, 44.3%)
CIE-LABlab(20.44, 39.44, -61.06)
CIE-LCHlch(20.44, 72.69, 302.86°)
OKLaboklab(33.1% 0.0004 -0.1768)
OKLCHoklch(33.1% 0.177 270.1)
XYZxyz(5.7711, 3.1005, 25.8802)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E8E #8E8A1A
analogous
#1A588E #1A1E8E #501A8E
triadic
#1A1E8E #8E1A1E #1E8E1A
tetradic
#1A1E8E #8E1A58 #8E8A1A #1A8E50
square
#1A1E8E #8E1A58 #8E8A1A #1A8E50
split-complementary
#1A1E8E #8E501A #588E1A
monochromatic
#070827 #11135A #1A1E8E #2329C2 #454BDD

Accessibility & contrast

On white

12.96
#1A1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A1E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E8E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E8E#FFFFFF#000000##FFFFFF
##1A1E8E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1e8e;
/* rgb */ color: rgb(26, 30, 142);
/* oklch */ color: oklch(33.1% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e5cb0',
    500: '#1a1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e8e;
$custom-light: #6e5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e8e",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 237.931,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33096,
    "c": 0.17684,
    "h": 270.1
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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