#1A1C8F#1A1C8F

#1A1C8F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 270.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#1A1C8F
RGBrgb(26, 28, 143)
HSLhsl(239, 69%, 33%)
HSVhsv(239, 82%, 56%)
CMYKcmyk(81.8%, 80.4%, 0%, 43.9%)
CIE-LABlab(20.17, 40.90, -62.12)
CIE-LCHlch(20.17, 74.38, 303.36°)
OKLaboklab(32.94% 0.0008 -0.1799)
OKLCHoklch(32.94% 0.18 270.2)
XYZxyz(5.7975, 3.0326, 26.2611)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C8F #8F8D1A
analogous
#1A578F #1A1C8F #521A8F
triadic
#1A1C8F #8F1A1C #1C8F1A
tetradic
#1A1C8F #8F1A57 #8F8D1A #1A8F52
square
#1A1C8F #8F1A57 #8F8D1A #1A8F52
split-complementary
#1A1C8F #8F521A #578F1A
monochromatic
#070827 #11125B #1A1C8F #2326C3 #4649DD

Accessibility & contrast

On white

13.07
#1A1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C8F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C8F#FFFFFF#000000##FFFFFF
##1A1C8F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a1c8f;
/* rgb */ color: rgb(26, 28, 143);
/* oklch */ color: oklch(32.9% 0.180 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e5bb1',
    500: '#1a1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c8f;
$custom-light: #6e5bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c8f",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 238.974,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.32942,
    "c": 0.17991,
    "h": 270.2
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#1A1C8F
secondary
#BFBD46
accent
#E93CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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