#1A1C85#1A1C85

#1A1C85 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.167 H 270.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1A1C85
RGBrgb(26, 28, 133)
HSLhsl(239, 67%, 31%)
HSVhsv(239, 80%, 52%)
CMYKcmyk(80.5%, 78.9%, 0%, 47.8%)
CIE-LABlab(18.98, 37.47, -57.83)
CIE-LCHlch(18.98, 68.91, 302.94°)
OKLaboklab(31.76% 0.0027 -0.1675)
OKLCHoklch(31.76% 0.167 270.9)
XYZxyz(5.0735, 2.7430, 22.4478)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C85 #85831A
analogous
#1A5185 #1A1C85 #4D1A85
triadic
#1A1C85 #851A1C #1C851A
tetradic
#1A1C85 #851A51 #85831A #1A854D
square
#1A1C85 #851A51 #85831A #1A854D
split-complementary
#1A1C85 #854D1A #51851A
monochromatic
#06061F #101152 #1A1C85 #2427B8 #4043DA

Accessibility & contrast

On white

13.56
#1A1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A1C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C85
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C85#FFFFFF#000000##FFFFFF
##1A1C851.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1c85;
/* rgb */ color: rgb(26, 28, 133);
/* oklch */ color: oklch(31.8% 0.167 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c5aaa',
    500: '#1a1c85',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c85;
$custom-light: #6c5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c85",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 238.879,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.16748,
    "h": 270.9
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#1A1C85
secondary
#B8B642
accent
#E73EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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