#1A104D#1A104D

#1A104D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.106 H 282.1°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#1A104D
RGBrgb(26, 16, 77)
HSLhsl(250, 66%, 18%)
HSVhsv(250, 79%, 30%)
CMYKcmyk(66.2%, 79.2%, 0%, 69.8%)
CIE-LABlab(10.00, 24.82, -35.80)
CIE-LCHlch(10.00, 43.57, 304.73°)
OKLaboklab(23.49% 0.0221 -0.1032)
OKLCHoklch(23.49% 0.106 282.1)
XYZxyz(1.9504, 1.1259, 7.1343)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A104D #434D10
analogous
#10244D #1A104D #38104D
triadic
#1A104D #4D1A10 #104D1A
tetradic
#1A104D #4D1024 #434D10 #104D38
square
#1A104D #4D1024 #434D10 #104D38
split-complementary
#1A104D #4D3810 #244D10
monochromatic
#090519 #09051A #1A104D #2B1B80 #3C25B2

Accessibility & contrast

On white

17.14
#1A104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1A104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A104D
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A104D#FFFFFF#000000##FFFFFF
##1A104D1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a104d;
/* rgb */ color: rgb(26, 16, 77);
/* oklch */ color: oklch(23.5% 0.106 282.1);
Tailwind
colors: {
  custom: {
    50: '#5e4f7f',
    500: '#1a104d',
    950: '#000000',
  },
}
SCSS
$custom: #1a104d;
$custom-light: #5e4f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a104d",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 249.836,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23494,
    "c": 0.10553,
    "h": 282.1
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#1A104D
secondary
#798732
accent
#E93FCD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A104D

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

Preview Lab → · Contrast checker → · Palette generator →

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