#1A1052#1A1052

#1A1052 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.113 H 280.7°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#1A1052
RGBrgb(26, 16, 82)
HSLhsl(249, 67%, 19%)
HSVhsv(249, 80%, 32%)
CMYKcmyk(68.3%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.55, 26.60, -38.34)
CIE-LCHlch(10.55, 46.66, 304.76°)
OKLaboklab(24.05% 0.0208 -0.1106)
OKLCHoklch(24.05% 0.113 280.7)
XYZxyz(2.1338, 1.1992, 8.1000)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1052 #485210
analogous
#102752 #1A1052 #3B1052
triadic
#1A1052 #521A10 #10521A
tetradic
#1A1052 #521027 #485210 #10523B
square
#1A1052 #521027 #485210 #10523B
split-complementary
#1A1052 #523B10 #275210
monochromatic
#08051A #0A061F #1A1052 #2A1A85 #3A24B8

Accessibility & contrast

On white

16.94
#1A1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1A1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1052
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1052#FFFFFF#000000##FFFFFF
##1A10521.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a1052;
/* rgb */ color: rgb(26, 16, 82);
/* oklch */ color: oklch(24.1% 0.113 280.7);
Tailwind
colors: {
  custom: {
    50: '#5f4f83',
    500: '#1a1052',
    950: '#000000',
  },
}
SCSS
$custom: #1a1052;
$custom-light: #5f4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1052",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 249.091,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24053,
    "c": 0.11254,
    "h": 280.7
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#1A1052
secondary
#7E8C32
accent
#EA3ED0
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #1A1052

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

Preview Lab → · Contrast checker → · Palette generator →

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