#1A166D#1A166D

#1A166D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.143 H 274.2°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#1A166D
RGBrgb(26, 22, 109)
HSLhsl(243, 66%, 26%)
HSVhsv(243, 80%, 43%)
CMYKcmyk(76.1%, 79.8%, 0%, 57.3%)
CIE-LABlab(14.94, 32.55, -49.14)
CIE-LCHlch(14.94, 58.94, 303.52°)
OKLaboklab(28.08% 0.0104 -0.1421)
OKLCHoklch(28.08% 0.143 274.2)
XYZxyz(3.4723, 1.8972, 14.6482)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A166D #696D16
analogous
#163D6D #1A166D #45166D
triadic
#1A166D #6D1A16 #166D1A
tetradic
#1A166D #6D163D #696D16 #166D45
square
#1A166D #6D163D #696D16 #166D45
split-complementary
#1A166D #6D4516 #3D6D16
monochromatic
#060519 #0E0C3A #1A166D #2620A0 #322BD3

Accessibility & contrast

On white

15.22
#1A166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A166D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A166D#FFFFFF#000000##FFFFFF
##1A166D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a166d;
/* rgb */ color: rgb(26, 22, 109);
/* oklch */ color: oklch(28.1% 0.143 274.2);
Tailwind
colors: {
  custom: {
    50: '#665598',
    500: '#1a166d',
    950: '#000000',
  },
}
SCSS
$custom: #1a166d;
$custom-light: #665598;
$custom-dark: #000000;
JSON
{
  "hex": "#1a166d",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 242.759,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28077,
    "c": 0.14252,
    "h": 274.2
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#1A166D
secondary
#9EA33C
accent
#E93EE1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A166D

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

Preview Lab → · Contrast checker → · Palette generator →

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