#1A1081#1A1081

#1A1081 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.173 H 272.4°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#1A1081
RGBrgb(26, 16, 129)
HSLhsl(245, 78%, 28%)
HSVhsv(245, 88%, 51%)
CMYKcmyk(79.8%, 87.6%, 0%, 49.4%)
CIE-LABlab(16.38, 42.28, -59.62)
CIE-LCHlch(16.38, 73.10, 305.34°)
OKLaboklab(29.8% 0.0072 -0.1724)
OKLCHoklch(29.8% 0.173 272.4)
XYZxyz(4.5724, 2.1747, 20.9434)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1081 #778110
analogous
#103E81 #1A1081 #521081
triadic
#1A1081 #811A10 #10811A
tetradic
#1A1081 #81103E #778110 #108152
square
#1A1081 #81103E #778110 #108152
split-complementary
#1A1081 #815210 #3E8110
monochromatic
#05031B #0F094B #1A1081 #2517B7 #3827E4

Accessibility & contrast

On white

14.63
#1A1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1081
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1081#FFFFFF#000000##FFFFFF
##1A10811.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00237F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a1081;
/* rgb */ color: rgb(26, 16, 129);
/* oklch */ color: oklch(29.8% 0.173 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c53a7',
    500: '#1a1081',
    950: '#000000',
  },
}
SCSS
$custom: #1a1081;
$custom-light: #6c53a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1081",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 245.31,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29801,
    "c": 0.17259,
    "h": 272.4
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#1A1081
secondary
#ACB736
accent
#F433E3
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1A1081

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

Preview Lab → · Contrast checker → · Palette generator →

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