#1A0F52#1A0F52

#1A0F52 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.114 H 280.9°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#1A0F52
RGBrgb(26, 15, 82)
HSLhsl(250, 69%, 19%)
HSVhsv(250, 82%, 32%)
CMYKcmyk(68.3%, 81.7%, 0%, 67.8%)
CIE-LABlab(10.34, 27.21, -38.69)
CIE-LCHlch(10.34, 47.30, 305.12°)
OKLaboklab(23.9% 0.0216 -0.1116)
OKLCHoklch(23.9% 0.114 280.9)
XYZxyz(2.1193, 1.1703, 8.0952)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F52 #47520F
analogous
#0F2652 #1A0F52 #3C0F52
triadic
#1A0F52 #521A0F #0F521A
tetradic
#1A0F52 #520F26 #47520F #0F523C
square
#1A0F52 #520F26 #47520F #0F523C
split-complementary
#1A0F52 #523C0F #26520F
monochromatic
#08051A #0A061E #1A0F52 #2A1886 #3B22B9

Accessibility & contrast

On white

17.02
#1A0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1A0F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F52
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F52#FFFFFF#000000##FFFFFF
##1A0F521.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a0f52;
/* rgb */ color: rgb(26, 15, 82);
/* oklch */ color: oklch(23.9% 0.114 280.9);
Tailwind
colors: {
  custom: {
    50: '#5f4f83',
    500: '#1a0f52',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f52;
$custom-light: #5f4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f52",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 249.851,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23901,
    "c": 0.1137,
    "h": 280.9
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#1A0F52
secondary
#7D8C31
accent
#EC3CCF
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #1A0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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