#1A167D#1A167D

#1A167D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.163 H 272.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1A167D
RGBrgb(26, 22, 125)
HSLhsl(242, 70%, 29%)
HSVhsv(242, 82%, 49%)
CMYKcmyk(79.2%, 82.4%, 0%, 51%)
CIE-LABlab(16.86, 38.07, -56.28)
CIE-LCHlch(16.86, 67.94, 304.07°)
OKLaboklab(29.99% 0.0066 -0.1629)
OKLCHoklch(29.99% 0.163 272.3)
XYZxyz(4.4133, 2.2736, 19.6043)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A167D #797D16
analogous
#16467D #1A167D #4E167D
triadic
#1A167D #7D1A16 #167D1A
tetradic
#1A167D #7D1646 #797D16 #167D4E
square
#1A167D #7D1646 #797D16 #167D4E
split-complementary
#1A167D #7D4E16 #467D16
monochromatic
#05051A #0F0D49 #1A167D #251FB1 #3932DB

Accessibility & contrast

On white

14.43
#1A167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A167D
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A167D#FFFFFF#000000##FFFFFF
##1A167D1.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a167d;
/* rgb */ color: rgb(26, 22, 125);
/* oklch */ color: oklch(30.0% 0.163 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a56a4',
    500: '#1a167d',
    950: '#000000',
  },
}
SCSS
$custom: #1a167d;
$custom-light: #6a56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a167d",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 242.33,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29989,
    "c": 0.16299,
    "h": 272.3
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#1A167D
secondary
#ADB23D
accent
#ED3BE6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A167D

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

Preview Lab → · Contrast checker → · Palette generator →

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