#1A167B#1A167B

#1A167B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.161 H 272.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#1A167B
RGBrgb(26, 22, 123)
HSLhsl(242, 70%, 28%)
HSVhsv(242, 82%, 48%)
CMYKcmyk(78.9%, 82.1%, 0%, 51.8%)
CIE-LABlab(16.62, 37.39, -55.41)
CIE-LCHlch(16.62, 66.84, 304.01°)
OKLaboklab(29.75% 0.0071 -0.1603)
OKLCHoklch(29.75% 0.161 272.5)
XYZxyz(4.2869, 2.2230, 18.9382)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A167B #777B16
analogous
#16447B #1A167B #4C167B
triadic
#1A167B #7B1A16 #167B1A
tetradic
#1A167B #7B1644 #777B16 #167B4C
square
#1A167B #7B1644 #777B16 #167B4C
split-complementary
#1A167B #7B4C16 #447B16
monochromatic
#05051A #0F0D47 #1A167B #251FAF #3831DA

Accessibility & contrast

On white

14.54
#1A167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A167B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A167B#FFFFFF#000000##FFFFFF
##1A167B1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a167b;
/* rgb */ color: rgb(26, 22, 123);
/* oklch */ color: oklch(29.7% 0.161 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a56a2',
    500: '#1a167b',
    950: '#000000',
  },
}
SCSS
$custom: #1a167b;
$custom-light: #6a56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a167b",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 242.376,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29747,
    "c": 0.1605,
    "h": 272.5
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#1A167B
secondary
#ACB03D
accent
#EC3BE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A167B

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

Preview Lab → · Contrast checker → · Palette generator →

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