#1A1168#1A1168

#1A1168 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.141 H 275.7°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#1A1168
RGBrgb(26, 17, 104)
HSLhsl(246, 72%, 24%)
HSVhsv(246, 84%, 41%)
CMYKcmyk(75%, 83.7%, 0%, 59.2%)
CIE-LABlab(13.35, 33.66, -48.49)
CIE-LCHlch(13.35, 59.03, 304.77°)
OKLaboklab(26.79% 0.0141 -0.1402)
OKLCHoklch(26.79% 0.141 275.7)
XYZxyz(3.1243, 1.6197, 13.2420)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1168 #5F6811
analogous
#113368 #1A1168 #451168
triadic
#1A1168 #681A11 #11681A
tetradic
#1A1168 #681133 #5F6811 #116845
square
#1A1168 #681133 #5F6811 #116845
split-complementary
#1A1168 #684511 #336811
monochromatic
#07041A #0D0833 #1A1168 #271A9D #3422D1

Accessibility & contrast

On white

15.86
#1A1168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1168
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1168#FFFFFF#000000##FFFFFF
##1A11681.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a1168;
/* rgb */ color: rgb(26, 17, 104);
/* oklch */ color: oklch(26.8% 0.141 275.7);
Tailwind
colors: {
  custom: {
    50: '#655194',
    500: '#1a1168',
    950: '#000000',
  },
}
SCSS
$custom: #1a1168;
$custom-light: #655194;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1168",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 246.207,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26787,
    "c": 0.14089,
    "h": 275.7
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#1A1168
secondary
#95A035
accent
#EF39DC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1168

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

Preview Lab → · Contrast checker → · Palette generator →

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