#1A1C8B#1A1C8B

#1A1C8B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.175 H 270.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#1A1C8B
RGBrgb(26, 28, 139)
HSLhsl(239, 68%, 32%)
HSVhsv(239, 81%, 55%)
CMYKcmyk(81.3%, 79.9%, 0%, 45.5%)
CIE-LABlab(19.69, 39.54, -60.42)
CIE-LCHlch(19.69, 72.21, 303.20°)
OKLaboklab(32.47% 0.0016 -0.175)
OKLCHoklch(32.47% 0.175 270.5)
XYZxyz(5.4999, 2.9136, 24.6936)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1C8B #8B891A
analogous
#1A558B #1A1C8B #511A8B
triadic
#1A1C8B #8B1A1C #1C8B1A
tetradic
#1A1C8B #8B1A55 #8B891A #1A8B51
square
#1A1C8B #8B1A55 #8B891A #1A8B51
split-complementary
#1A1C8B #8B511A #558B1A
monochromatic
#070724 #101257 #1A1C8B #2426BF #4346DC

Accessibility & contrast

On white

13.27
#1A1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1C8B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1C8B#FFFFFF#000000##FFFFFF
##1A1C8B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a1c8b;
/* rgb */ color: rgb(26, 28, 139);
/* oklch */ color: oklch(32.5% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d5aae',
    500: '#1a1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a1c8b;
$custom-light: #6d5aae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1c8b",
  "rgb": {
    "r": 26,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 238.938,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32466,
    "c": 0.17499,
    "h": 270.5
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#1A1C8B
secondary
#BDBB44
accent
#E83CEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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