#1A168E#1A168E

#1A168E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.184 H 270.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1A168E
RGBrgb(26, 22, 142)
HSLhsl(242, 73%, 32%)
HSVhsv(242, 85%, 56%)
CMYKcmyk(81.7%, 84.5%, 0%, 44.3%)
CIE-LABlab(19.00, 43.64, -63.46)
CIE-LCHlch(19.00, 77.02, 304.52°)
OKLaboklab(32.09% 0.0025 -0.1837)
OKLCHoklch(32.09% 0.184 270.8)
XYZxyz(5.5937, 2.7458, 25.8211)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A168E #8A8E16
analogous
#164E8E #1A168E #56168E
triadic
#1A168E #8E1A16 #168E1A
tetradic
#1A168E #8E164E #8A8E16 #168E56
square
#1A168E #8E164E #8A8E16 #168E56
split-complementary
#1A168E #8E5616 #4E8E16
monochromatic
#070624 #100E59 #1A168E #241EC3 #433DE1

Accessibility & contrast

On white

13.56
#1A168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A168E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A168E#FFFFFF#000000##FFFFFF
##1A168E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a168e;
/* rgb */ color: rgb(26, 22, 142);
/* oklch */ color: oklch(32.1% 0.184 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f57b0',
    500: '#1a168e',
    950: '#000000',
  },
}
SCSS
$custom: #1a168e;
$custom-light: #6f57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a168e",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 242,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32086,
    "c": 0.18368,
    "h": 270.8
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#1A168E
secondary
#BDC13F
accent
#F038EA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A168E

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

Preview Lab → · Contrast checker → · Palette generator →

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