#1A1E85#1A1E85

#1A1E85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.166 H 270.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1A1E85
RGBrgb(26, 30, 133)
HSLhsl(238, 67%, 31%)
HSVhsv(238, 80%, 52%)
CMYKcmyk(80.5%, 77.4%, 0%, 47.8%)
CIE-LABlab(19.40, 36.30, -57.15)
CIE-LCHlch(19.40, 67.70, 302.42°)
OKLaboklab(32.05% 0.002 -0.1655)
OKLCHoklch(32.05% 0.166 270.7)
XYZxyz(5.1225, 2.8410, 22.4642)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E85 #85811A
analogous
#1A5385 #1A1E85 #4B1A85
triadic
#1A1E85 #851A1E #1E851A
tetradic
#1A1E85 #851A53 #85811A #1A854B
square
#1A1E85 #851A53 #85811A #1A854B
split-complementary
#1A1E85 #854B1A #53851A
monochromatic
#06071F #101252 #1A1E85 #242AB8 #4046DA

Accessibility & contrast

On white

13.39
#1A1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E85
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E85#FFFFFF#000000##FFFFFF
##1A1E851.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a1e85;
/* rgb */ color: rgb(26, 30, 133);
/* oklch */ color: oklch(32.0% 0.166 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b5baa',
    500: '#1a1e85',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e85;
$custom-light: #6b5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e85",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 237.757,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3205,
    "c": 0.16552,
    "h": 270.7
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#1A1E85
secondary
#B8B442
accent
#E43EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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