#1A1C9F#1A1C9F

#1A1C9F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.199 H 269.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1A1C9F
RGBrgb(26, 28, 159)
HSLhsl(239, 72%, 36%)
HSVhsv(239, 84%, 62%)
CMYKcmyk(83.6%, 82.4%, 0%, 37.6%)
CIE-LABlab(22.13, 46.18, -68.74)
CIE-LCHlch(22.13, 82.81, 303.89°)
OKLaboklab(34.88% -0.0024 -0.1991)
OKLCHoklch(34.88% 0.199 269.3)
XYZxyz(7.0971, 3.5525, 33.1058)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C9F #9F9D1A
analogous
#1A5F9F #1A1C9F #5B1A9F
triadic
#1A1C9F #9F1A1C #1C9F1A
tetradic
#1A1C9F #9F1A5F #9F9D1A #1A9F5B
square
#1A1C9F #9F1A5F #9F9D1A #1A9F5B
split-complementary
#1A1C9F #9F5B1A #5F9F1A
monochromatic
#090936 #11136A #1A1C9F #2325D4 #5153E3

Accessibility & contrast

On white

12.28
#1A1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A1C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C9F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C9F#FFFFFF#000000##FFFFFF
##1A1C9F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a1c9f;
/* rgb */ color: rgb(26, 28, 159);
/* oklch */ color: oklch(34.9% 0.199 269.3);
Tailwind
colors: {
  custom: {
    50: '#735cbd',
    500: '#1a1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c9f;
$custom-light: #735cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c9f",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 239.098,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34875,
    "c": 0.19908,
    "h": 269.3
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#1A1C9F
secondary
#C5C350
accent
#EC39EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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