#1A1167#1A1167

#1A1167 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.140 H 275.9°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#1A1167
RGBrgb(26, 17, 103)
HSLhsl(246, 72%, 24%)
HSVhsv(246, 83%, 40%)
CMYKcmyk(74.8%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.23, 33.32, -48.03)
CIE-LCHlch(13.23, 58.46, 304.75°)
OKLaboklab(26.67% 0.0144 -0.1388)
OKLCHoklch(26.67% 0.14 275.9)
XYZxyz(3.0738, 1.5995, 12.9761)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1167 #5E6711
analogous
#113367 #1A1167 #451167
triadic
#1A1167 #671A11 #11671A
tetradic
#1A1167 #671133 #5E6711 #116745
square
#1A1167 #671133 #5E6711 #116745
split-complementary
#1A1167 #674511 #336711
monochromatic
#07041A #0D0832 #1A1167 #271A9C #3522D0

Accessibility & contrast

On white

15.91
#1A1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1A1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1167
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1167#FFFFFF#000000##FFFFFF
##1A11671.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a1167;
/* rgb */ color: rgb(26, 17, 103);
/* oklch */ color: oklch(26.7% 0.140 275.9);
Tailwind
colors: {
  custom: {
    50: '#655193',
    500: '#1a1167',
    950: '#000000',
  },
}
SCSS
$custom: #1a1167;
$custom-light: #655193;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1167",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 246.279,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26665,
    "c": 0.13959,
    "h": 275.9
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#1A1167
secondary
#949F35
accent
#EE39DB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1167

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

Preview Lab → · Contrast checker → · Palette generator →

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