#1A168F#1A168F

#1A168F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.185 H 270.7°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1A168F
RGBrgb(26, 22, 143)
HSLhsl(242, 73%, 32%)
HSVhsv(242, 85%, 56%)
CMYKcmyk(81.8%, 84.6%, 0%, 43.9%)
CIE-LABlab(19.12, 43.96, -63.87)
CIE-LCHlch(19.12, 77.54, 304.54°)
OKLaboklab(32.21% 0.0023 -0.1848)
OKLCHoklch(32.21% 0.185 270.7)
XYZxyz(5.6692, 2.7760, 26.2183)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A168F #8B8F16
analogous
#164F8F #1A168F #56168F
triadic
#1A168F #8F1A16 #168F1A
tetradic
#1A168F #8F164F #8B8F16 #168F56
square
#1A168F #8F164F #8B8F16 #168F56
split-complementary
#1A168F #8F5616 #4F8F16
monochromatic
#070625 #100E5A #1A168F #241EC4 #433EE1

Accessibility & contrast

On white

13.50
#1A168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A168F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A168F#FFFFFF#000000##FFFFFF
##1A168F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a168f;
/* rgb */ color: rgb(26, 22, 143);
/* oklch */ color: oklch(32.2% 0.185 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f57b1',
    500: '#1a168f',
    950: '#000000',
  },
}
SCSS
$custom: #1a168f;
$custom-light: #6f57b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a168f",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 241.983,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32211,
    "c": 0.18486,
    "h": 270.7
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A168F

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

Preview Lab → · Contrast checker → · Palette generator →

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