#1A1071#1A1071

#1A1071 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.153 H 274.5°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#1A1071
RGBrgb(26, 16, 113)
HSLhsl(246, 75%, 25%)
HSVhsv(246, 86%, 44%)
CMYKcmyk(77%, 85.8%, 0%, 55.7%)
CIE-LABlab(14.30, 37.17, -52.80)
CIE-LCHlch(14.30, 64.57, 305.15°)
OKLaboklab(27.77% 0.0119 -0.1527)
OKLCHoklch(27.77% 0.153 274.5)
XYZxyz(3.5909, 1.7821, 15.7743)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1071 #677110
analogous
#103671 #1A1071 #4B1071
triadic
#1A1071 #711A10 #10711A
tetradic
#1A1071 #711036 #677110 #10714B
square
#1A1071 #711036 #677110 #10714B
split-complementary
#1A1071 #714B10 #367110
monochromatic
#06041B #0E083B #1A1071 #2618A7 #331FDC

Accessibility & contrast

On white

15.48
#1A1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1A1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1071
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1071#FFFFFF#000000##FFFFFF
##1A10711.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a1071;
/* rgb */ color: rgb(26, 16, 113);
/* oklch */ color: oklch(27.8% 0.153 274.5);
Tailwind
colors: {
  custom: {
    50: '#67529b',
    500: '#1a1071',
    950: '#000000',
  },
}
SCSS
$custom: #1a1071;
$custom-light: #67529b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1071",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 246.186,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27774,
    "c": 0.15314,
    "h": 274.5
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#1A1071
secondary
#9DA934
accent
#F236DE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A1071

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

Preview Lab → · Contrast checker → · Palette generator →

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