#1A0F56#1A0F56

#1A0F56 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.4% C 0.119 H 279.9°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#1A0F56
RGBrgb(26, 15, 86)
HSLhsl(249, 70%, 20%)
HSVhsv(249, 83%, 34%)
CMYKcmyk(69.8%, 82.6%, 0%, 66.3%)
CIE-LABlab(10.80, 28.61, -40.66)
CIE-LCHlch(10.80, 49.71, 305.13°)
OKLaboklab(24.37% 0.0205 -0.1174)
OKLCHoklch(24.37% 0.119 279.9)
XYZxyz(2.2760, 1.2330, 8.9203)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F56 #4B560F
analogous
#0F2756 #1A0F56 #3E0F56
triadic
#1A0F56 #561A0F #0F561A
tetradic
#1A0F56 #560F27 #4B560F #0F563E
square
#1A0F56 #560F27 #4B560F #0F563E
split-complementary
#1A0F56 #563E0F #27560F
monochromatic
#08051A #0A0622 #1A0F56 #2A188A #3A21BE

Accessibility & contrast

On white

16.85
#1A0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0F56
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F56#FFFFFF#000000##FFFFFF
##1A0F561.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0f56;
/* rgb */ color: rgb(26, 15, 86);
/* oklch */ color: oklch(24.4% 0.119 279.9);
Tailwind
colors: {
  custom: {
    50: '#604f86',
    500: '#1a0f56',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f56;
$custom-light: #604f86;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f56",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 249.296,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24365,
    "c": 0.11914,
    "h": 279.9
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#1A0F56
secondary
#819031
accent
#ED3BD1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1A0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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