#1A104B#1A104B

#1A104B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.103 H 282.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#1A104B
RGBrgb(26, 16, 75)
HSLhsl(250, 65%, 18%)
HSVhsv(250, 79%, 29%)
CMYKcmyk(65.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(9.78, 24.11, -34.77)
CIE-LCHlch(9.78, 42.31, 304.73°)
OKLaboklab(23.28% 0.0225 -0.1002)
OKLCHoklch(23.28% 0.103 282.7)
XYZxyz(1.8809, 1.0981, 6.7681)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A104B #414B10
analogous
#10244B #1A104B #37104B
triadic
#1A104B #4B1A10 #104B1A
tetradic
#1A104B #4B1024 #414B10 #104B37
square
#1A104B #4B1024 #414B10 #104B37
split-complementary
#1A104B #4B3710 #244B10
monochromatic
#090519 #090519 #1A104B #2B1B7D #3D26B0

Accessibility & contrast

On white

17.22
#1A104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1A104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A104B
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A104B#FFFFFF#000000##FFFFFF
##1A104B1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a104b;
/* rgb */ color: rgb(26, 16, 75);
/* oklch */ color: oklch(23.3% 0.103 282.7);
Tailwind
colors: {
  custom: {
    50: '#5e4f7e',
    500: '#1a104b',
    950: '#000000',
  },
}
SCSS
$custom: #1a104b;
$custom-light: #5e4f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a104b",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 250.169,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23275,
    "c": 0.10268,
    "h": 282.7
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#1A104B
secondary
#778532
accent
#E840CB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A104B

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

Preview Lab → · Contrast checker → · Palette generator →

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