#1A1256#1A1256

#1A1256 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.8% C 0.116 H 279.1°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#1A1256
RGBrgb(26, 18, 86)
HSLhsl(247, 65%, 20%)
HSVhsv(247, 79%, 34%)
CMYKcmyk(69.8%, 79.1%, 0%, 66.3%)
CIE-LABlab(11.44, 26.79, -39.60)
CIE-LCHlch(11.44, 47.81, 304.08°)
OKLaboklab(24.82% 0.0183 -0.1143)
OKLCHoklch(24.82% 0.116 279.1)
XYZxyz(2.3215, 1.3239, 8.9355)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1256 #4E5612
analogous
#122C56 #1A1256 #3C1256
triadic
#1A1256 #561A12 #12561A
tetradic
#1A1256 #56122C #4E5612 #12563C
square
#1A1256 #56122C #4E5612 #12563C
split-complementary
#1A1256 #563C12 #2C5612
monochromatic
#080519 #0B0723 #1A1256 #291D89 #3927BB

Accessibility & contrast

On white

16.60
#1A1256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1A1256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1256
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1256#FFFFFF#000000##FFFFFF
##1A12561.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a1256;
/* rgb */ color: rgb(26, 18, 86);
/* oklch */ color: oklch(24.8% 0.116 279.1);
Tailwind
colors: {
  custom: {
    50: '#605186',
    500: '#1a1256',
    950: '#000000',
  },
}
SCSS
$custom: #1a1256;
$custom-light: #605186;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1256",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 247.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24819,
    "c": 0.11576,
    "h": 279.1
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#1A1256
secondary
#848F35
accent
#E83FD4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1A1256

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

Preview Lab → · Contrast checker → · Palette generator →

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