#1A1E87#1A1E87

#1A1E87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.168 H 270.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#1A1E87
RGBrgb(26, 30, 135)
HSLhsl(238, 68%, 32%)
HSVhsv(238, 81%, 53%)
CMYKcmyk(80.7%, 77.8%, 0%, 47.1%)
CIE-LABlab(19.63, 37.00, -58.03)
CIE-LCHlch(19.63, 68.82, 302.53°)
OKLaboklab(32.28% 0.0016 -0.1681)
OKLCHoklch(32.28% 0.168 270.6)
XYZxyz(5.2620, 2.8968, 23.1988)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E87 #87831A
analogous
#1A5587 #1A1E87 #4D1A87
triadic
#1A1E87 #871A1E #1E871A
tetradic
#1A1E87 #871A55 #87831A #1A874D
square
#1A1E87 #871A55 #87831A #1A874D
split-complementary
#1A1E87 #874D1A #55871A
monochromatic
#060720 #101354 #1A1E87 #2429BA #4147DA

Accessibility & contrast

On white

13.30
#1A1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A1E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E87
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E87#FFFFFF#000000##FFFFFF
##1A1E871.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a1e87;
/* rgb */ color: rgb(26, 30, 135);
/* oklch */ color: oklch(32.3% 0.168 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c5bab',
    500: '#1a1e87',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e87;
$custom-light: #6c5bab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e87",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 237.798,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3228,
    "c": 0.16807,
    "h": 270.6
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#1A1E87
secondary
#BAB642
accent
#E43DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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