#1A1152#1A1152

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

Color values

HEX#1A1152
RGBrgb(26, 17, 82)
HSLhsl(248, 66%, 19%)
HSVhsv(248, 79%, 32%)
CMYKcmyk(68.3%, 79.3%, 0%, 67.8%)
CIE-LABlab(10.77, 25.98, -37.97)
CIE-LCHlch(10.77, 46.01, 304.38°)
OKLaboklab(24.21% 0.02 -0.1095)
OKLCHoklch(24.21% 0.111 280.4)
XYZxyz(2.1490, 1.2295, 8.1051)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1152 #495211
analogous
#112952 #1A1152 #3B1152
triadic
#1A1152 #521A11 #11521A
tetradic
#1A1152 #521129 #495211 #11523B
square
#1A1152 #521129 #495211 #11523B
split-complementary
#1A1152 #523B11 #295211
monochromatic
#080519 #0A061F #1A1152 #2A1C85 #3A26B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A1152#FFFFFF#000000##FFFFFF
##1A11521.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)
#001F54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a1152;
/* rgb */ color: rgb(26, 17, 82);
/* oklch */ color: oklch(24.2% 0.111 280.4);
Tailwind
colors: {
  custom: {
    50: '#5f5083',
    500: '#1a1152',
    950: '#000000',
  },
}
SCSS
$custom: #1a1152;
$custom-light: #5f5083;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1152",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 248.308,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2421,
    "c": 0.11136,
    "h": 280.4
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#1A1152
secondary
#7F8B34
accent
#E93FD1
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #1A1152

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

Preview Lab → · Contrast checker → · Palette generator →

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