#1A1056#1A1056

#1A1056 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.118 H 279.6°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#1A1056
RGBrgb(26, 16, 86)
HSLhsl(249, 69%, 20%)
HSVhsv(249, 81%, 34%)
CMYKcmyk(69.8%, 81.4%, 0%, 66.3%)
CIE-LABlab(11.01, 28.02, -40.32)
CIE-LCHlch(11.01, 49.09, 304.79°)
OKLaboklab(24.51% 0.0198 -0.1164)
OKLCHoklch(24.51% 0.118 279.6)
XYZxyz(2.2905, 1.2619, 8.9252)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1056 #4C5610
analogous
#102956 #1A1056 #3D1056
triadic
#1A1056 #561A10 #10561A
tetradic
#1A1056 #561029 #4C5610 #10563D
square
#1A1056 #561029 #4C5610 #10563D
split-complementary
#1A1056 #563D10 #295610
monochromatic
#08051A #0A0622 #1A1056 #2A1A8A #3923BD

Accessibility & contrast

On white

16.77
#1A1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1A1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1056
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1056#FFFFFF#000000##FFFFFF
##1A10561.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a1056;
/* rgb */ color: rgb(26, 16, 86);
/* oklch */ color: oklch(24.5% 0.118 279.6);
Tailwind
colors: {
  custom: {
    50: '#605086',
    500: '#1a1056',
    950: '#000000',
  },
}
SCSS
$custom: #1a1056;
$custom-light: #605086;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1056",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 248.571,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.24511,
    "c": 0.11805,
    "h": 279.6
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#1A1056
secondary
#828F32
accent
#EB3CD2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1A1056

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

Preview Lab → · Contrast checker → · Palette generator →

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