#1A168B#1A168B

#1A168B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.180 H 271.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#1A168B
RGBrgb(26, 22, 139)
HSLhsl(242, 73%, 32%)
HSVhsv(242, 84%, 55%)
CMYKcmyk(81.3%, 84.2%, 0%, 45.5%)
CIE-LABlab(18.61, 42.68, -62.22)
CIE-LCHlch(18.61, 75.45, 304.45°)
OKLaboklab(31.71% 0.0032 -0.1801)
OKLCHoklch(31.71% 0.18 271)
XYZxyz(5.3715, 2.6569, 24.6508)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A168B #878B16
analogous
#164D8B #1A168B #55168B
triadic
#1A168B #8B1A16 #168B1A
tetradic
#1A168B #8B164D #878B16 #168B55
square
#1A168B #8B164D #878B16 #168B55
split-complementary
#1A168B #8B5516 #4D8B16
monochromatic
#060521 #100E56 #1A168B #241EC0 #413BE0

Accessibility & contrast

On white

13.71
#1A168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A168B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A168B#FFFFFF#000000##FFFFFF
##1A168B1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a168b;
/* rgb */ color: rgb(26, 22, 139);
/* oklch */ color: oklch(31.7% 0.180 271.0);
Tailwind
colors: {
  custom: {
    50: '#6e57ae',
    500: '#1a168b',
    950: '#000000',
  },
}
SCSS
$custom: #1a168b;
$custom-light: #6e57ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a168b",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 242.051,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31712,
    "c": 0.1801,
    "h": 271
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#1A168B
secondary
#BABF3E
accent
#EF38E9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #1A168B

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

Preview Lab → · Contrast checker → · Palette generator →

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