#1A166A#1A166A

#1A166A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.139 H 274.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#1A166A
RGBrgb(26, 22, 106)
HSLhsl(243, 66%, 25%)
HSVhsv(243, 79%, 42%)
CMYKcmyk(75.5%, 79.2%, 0%, 58.4%)
CIE-LABlab(14.59, 31.49, -47.75)
CIE-LCHlch(14.59, 57.20, 303.40°)
OKLaboklab(27.73% 0.0111 -0.1381)
OKLCHoklch(27.73% 0.139 274.6)
XYZxyz(3.3136, 1.8337, 13.8122)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A166A #666A16
analogous
#163C6A #1A166A #44166A
triadic
#1A166A #6A1A16 #166A1A
tetradic
#1A166A #6A163C #666A16 #166A44
square
#1A166A #6A163C #666A16 #166A44
split-complementary
#1A166A #6A4416 #3C6A16
monochromatic
#060519 #0E0B37 #1A166A #26219D #332BCF

Accessibility & contrast

On white

15.36
#1A166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A166A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A166A#FFFFFF#000000##FFFFFF
##1A166A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a166a;
/* rgb */ color: rgb(26, 22, 106);
/* oklch */ color: oklch(27.7% 0.139 274.6);
Tailwind
colors: {
  custom: {
    50: '#655596',
    500: '#1a166a',
    950: '#000000',
  },
}
SCSS
$custom: #1a166a;
$custom-light: #655596;
$custom-dark: #000000;
JSON
{
  "hex": "#1a166a",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 242.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27727,
    "c": 0.13854,
    "h": 274.6
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#1A166A
secondary
#9CA03B
accent
#E93FE1
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1A166A

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

Preview Lab → · Contrast checker → · Palette generator →

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