#1A166B#1A166B

#1A166B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.140 H 274.4°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#1A166B
RGBrgb(26, 22, 107)
HSLhsl(243, 66%, 25%)
HSVhsv(243, 79%, 42%)
CMYKcmyk(75.7%, 79.4%, 0%, 58%)
CIE-LABlab(14.70, 31.85, -48.22)
CIE-LCHlch(14.70, 57.78, 303.44°)
OKLaboklab(27.84% 0.0109 -0.1394)
OKLCHoklch(27.84% 0.14 274.4)
XYZxyz(3.3659, 1.8546, 14.0877)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A166B #676B16
analogous
#163C6B #1A166B #45166B
triadic
#1A166B #6B1A16 #166B1A
tetradic
#1A166B #6B163C #676B16 #166B45
square
#1A166B #6B163C #676B16 #166B45
split-complementary
#1A166B #6B4516 #3C6B16
monochromatic
#060519 #0E0C38 #1A166B #26209E #332BD1

Accessibility & contrast

On white

15.32
#1A166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A166B
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A166B#FFFFFF#000000##FFFFFF
##1A166B1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a166b;
/* rgb */ color: rgb(26, 22, 107);
/* oklch */ color: oklch(27.8% 0.140 274.4);
Tailwind
colors: {
  custom: {
    50: '#655596',
    500: '#1a166b',
    950: '#000000',
  },
}
SCSS
$custom: #1a166b;
$custom-light: #655596;
$custom-dark: #000000;
JSON
{
  "hex": "#1a166b",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 242.824,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27843,
    "c": 0.13987,
    "h": 274.4
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#1A166B
secondary
#9DA13B
accent
#E93FE1
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1A166B

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

Preview Lab → · Contrast checker → · Palette generator →

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