#1A167F#1A167F

#1A167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.165 H 272.1°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1A167F
RGBrgb(26, 22, 127)
HSLhsl(242, 70%, 29%)
HSVhsv(242, 83%, 50%)
CMYKcmyk(79.5%, 82.7%, 0%, 50.2%)
CIE-LABlab(17.11, 38.74, -57.14)
CIE-LCHlch(17.11, 69.03, 304.13°)
OKLaboklab(30.23% 0.0061 -0.1654)
OKLCHoklch(30.23% 0.165 272.1)
XYZxyz(4.5424, 2.3252, 20.2840)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A167F #7B7F16
analogous
#16477F #1A167F #4F167F
triadic
#1A167F #7F1A16 #167F1A
tetradic
#1A167F #7F1647 #7B7F16 #167F4F
square
#1A167F #7F1647 #7B7F16 #167F4F
split-complementary
#1A167F #7F4F16 #477F16
monochromatic
#05051A #0F0D4B #1A167F #251FB3 #3A34DC

Accessibility & contrast

On white

14.33
#1A167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A167F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A167F#FFFFFF#000000##FFFFFF
##1A167F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a167f;
/* rgb */ color: rgb(26, 22, 127);
/* oklch */ color: oklch(30.2% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#6b56a5',
    500: '#1a167f',
    950: '#000000',
  },
}
SCSS
$custom: #1a167f;
$custom-light: #6b56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a167f",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 242.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30233,
    "c": 0.16548,
    "h": 272.1
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#1A167F
secondary
#AFB43D
accent
#ED3BE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A167F

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

Preview Lab → · Contrast checker → · Palette generator →

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