#1A104E#1A104E

#1A104E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.107 H 281.8°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#1A104E
RGBrgb(26, 16, 78)
HSLhsl(250, 66%, 18%)
HSVhsv(250, 79%, 31%)
CMYKcmyk(66.7%, 79.5%, 0%, 69.4%)
CIE-LABlab(10.11, 25.18, -36.32)
CIE-LCHlch(10.11, 44.19, 304.74°)
OKLaboklab(23.61% 0.0218 -0.1047)
OKLCHoklch(23.61% 0.107 281.8)
XYZxyz(1.9860, 1.1401, 7.3217)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A104E #444E10
analogous
#10254E #1A104E #39104E
triadic
#1A104E #4E1A10 #104E1A
tetradic
#1A104E #4E1025 #444E10 #104E39
square
#1A104E #4E1025 #444E10 #104E39
split-complementary
#1A104E #4E3910 #254E10
monochromatic
#080519 #09061B #1A104E #2B1A81 #3C25B4

Accessibility & contrast

On white

17.10
#1A104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A104E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A104E#FFFFFF#000000##FFFFFF
##1A104E1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a104e;
/* rgb */ color: rgb(26, 16, 78);
/* oklch */ color: oklch(23.6% 0.107 281.8);
Tailwind
colors: {
  custom: {
    50: '#5e4f80',
    500: '#1a104e',
    950: '#000000',
  },
}
SCSS
$custom: #1a104e;
$custom-light: #5e4f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a104e",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 249.677,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23605,
    "c": 0.10694,
    "h": 281.8
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#1A104E
secondary
#7A8832
accent
#E93FCD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A104E

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

Preview Lab → · Contrast checker → · Palette generator →

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