#1A167E#1A167E

#1A167E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.164 H 272.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#1A167E
RGBrgb(26, 22, 126)
HSLhsl(242, 70%, 29%)
HSVhsv(242, 83%, 49%)
CMYKcmyk(79.4%, 82.5%, 0%, 50.6%)
CIE-LABlab(16.99, 38.40, -56.71)
CIE-LCHlch(16.99, 68.49, 304.10°)
OKLaboklab(30.11% 0.0064 -0.1641)
OKLCHoklch(30.11% 0.164 272.2)
XYZxyz(4.4775, 2.2993, 19.9424)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A167E #7A7E16
analogous
#16467E #1A167E #4E167E
triadic
#1A167E #7E1A16 #167E1A
tetradic
#1A167E #7E1646 #7A7E16 #167E4E
square
#1A167E #7E1646 #7A7E16 #167E4E
split-complementary
#1A167E #7E4E16 #467E16
monochromatic
#05051A #0F0D4A #1A167E #251FB2 #3933DB

Accessibility & contrast

On white

14.38
#1A167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A167E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A167E#FFFFFF#000000##FFFFFF
##1A167E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a167e;
/* rgb */ color: rgb(26, 22, 126);
/* oklch */ color: oklch(30.1% 0.164 272.2);
Tailwind
colors: {
  custom: {
    50: '#6a56a5',
    500: '#1a167e',
    950: '#000000',
  },
}
SCSS
$custom: #1a167e;
$custom-light: #6a56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a167e",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 242.308,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.16424,
    "h": 272.2
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A167E

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

Preview Lab → · Contrast checker → · Palette generator →

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