#1A166C#1A166C

#1A166C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.141 H 274.3°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#1A166C
RGBrgb(26, 22, 108)
HSLhsl(243, 66%, 25%)
HSVhsv(243, 80%, 42%)
CMYKcmyk(75.9%, 79.6%, 0%, 57.6%)
CIE-LABlab(14.82, 32.20, -48.68)
CIE-LCHlch(14.82, 58.36, 303.48°)
OKLaboklab(27.96% 0.0106 -0.1408)
OKLCHoklch(27.96% 0.141 274.3)
XYZxyz(3.4188, 1.8758, 14.3663)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A166C #686C16
analogous
#163D6C #1A166C #45166C
triadic
#1A166C #6C1A16 #166C1A
tetradic
#1A166C #6C163D #686C16 #166C45
square
#1A166C #6C163D #686C16 #166C45
split-complementary
#1A166C #6C4516 #3D6C16
monochromatic
#060519 #0E0C39 #1A166C #26209F #322BD2

Accessibility & contrast

On white

15.27
#1A166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A166C
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A166C#FFFFFF#000000##FFFFFF
##1A166C1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a166c;
/* rgb */ color: rgb(26, 22, 108);
/* oklch */ color: oklch(28.0% 0.141 274.3);
Tailwind
colors: {
  custom: {
    50: '#655597',
    500: '#1a166c',
    950: '#000000',
  },
}
SCSS
$custom: #1a166c;
$custom-light: #655597;
$custom-dark: #000000;
JSON
{
  "hex": "#1a166c",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 242.791,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2796,
    "c": 0.1412,
    "h": 274.3
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#1A166C
secondary
#9DA23C
accent
#E93FE1
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A166C

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

Preview Lab → · Contrast checker → · Palette generator →

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