#1A1A85#1A1A85

#1A1A85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.169 H 271.2°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#1A1A85
RGBrgb(26, 26, 133)
HSLhsl(240, 67%, 31%)
HSVhsv(240, 80%, 52%)
CMYKcmyk(80.5%, 80.5%, 0%, 47.8%)
CIE-LABlab(18.59, 38.60, -58.49)
CIE-LCHlch(18.59, 70.08, 303.42°)
OKLaboklab(31.48% 0.0034 -0.1693)
OKLCHoklch(31.48% 0.169 271.2)
XYZxyz(5.0276, 2.6513, 22.4325)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1A85 #85851A
analogous
#1A4F85 #1A1A85 #4F1A85
triadic
#1A1A85 #851A1A #1A851A
tetradic
#1A1A85 #851A4F #85851A #1A854F
square
#1A1A85 #851A4F #85851A #1A854F
split-complementary
#1A1A85 #854F1A #4F851A
monochromatic
#06061F #101052 #1A1A85 #2424B8 #4040DA

Accessibility & contrast

On white

13.72
#1A1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1A85
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1A85#FFFFFF#000000##FFFFFF
##1A1A851.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a1a85;
/* rgb */ color: rgb(26, 26, 133);
/* oklch */ color: oklch(31.5% 0.169 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c59aa',
    500: '#1a1a85',
    950: '#000000',
  },
}
SCSS
$custom: #1a1a85;
$custom-light: #6c59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1a85",
  "rgb": {
    "r": 26,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31481,
    "c": 0.16936,
    "h": 271.2
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#1A1A85
secondary
#B8B842
accent
#EA3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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