#1A1D85#1A1D85

#1A1D85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.167 H 270.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1A1D85
RGBrgb(26, 29, 133)
HSLhsl(238, 67%, 31%)
HSVhsv(238, 80%, 52%)
CMYKcmyk(80.5%, 78.2%, 0%, 47.8%)
CIE-LABlab(19.19, 36.89, -57.50)
CIE-LCHlch(19.19, 68.31, 302.68°)
OKLaboklab(31.9% 0.0024 -0.1665)
OKLCHoklch(31.9% 0.167 270.8)
XYZxyz(5.0976, 2.7912, 22.4559)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D85 #85821A
analogous
#1A5285 #1A1D85 #4C1A85
triadic
#1A1D85 #851A1D #1D851A
tetradic
#1A1D85 #851A52 #85821A #1A854C
square
#1A1D85 #851A52 #85821A #1A854C
split-complementary
#1A1D85 #854C1A #52851A
monochromatic
#06071F #101252 #1A1D85 #2428B8 #4044DA

Accessibility & contrast

On white

13.48
#1A1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D85
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D85#FFFFFF#000000##FFFFFF
##1A1D851.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1d85;
/* rgb */ color: rgb(26, 29, 133);
/* oklch */ color: oklch(31.9% 0.167 270.8);
Tailwind
colors: {
  custom: {
    50: '#6c5baa',
    500: '#1a1d85',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d85;
$custom-light: #6c5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d85",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 238.318,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.16652,
    "h": 270.8
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#1A1D85
secondary
#B8B542
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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