#1A0F5B#1A0F5B

#1A0F5B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.126 H 278.7°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#1A0F5B
RGBrgb(26, 15, 91)
HSLhsl(249, 72%, 21%)
HSVhsv(249, 84%, 36%)
CMYKcmyk(71.4%, 83.5%, 0%, 64.3%)
CIE-LABlab(11.39, 30.33, -43.07)
CIE-LCHlch(11.39, 52.68, 305.16°)
OKLaboklab(24.95% 0.019 -0.1244)
OKLCHoklch(24.95% 0.126 278.7)
XYZxyz(2.4845, 1.3164, 10.0187)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F5B #505B0F
analogous
#0F2A5B #1A0F5B #400F5B
triadic
#1A0F5B #5B1A0F #0F5B1A
tetradic
#1A0F5B #5B0F2A #505B0F #0F5B40
square
#1A0F5B #5B0F2A #505B0F #0F5B40
split-complementary
#1A0F5B #5B400F #2A5B0F
monochromatic
#08041A #0B0626 #1A0F5B #291890 #3820C4

Accessibility & contrast

On white

16.62
#1A0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0F5B
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F5B#FFFFFF#000000##FFFFFF
##1A0F5B1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a0f5b;
/* rgb */ color: rgb(26, 15, 91);
/* oklch */ color: oklch(25.0% 0.126 278.7);
Tailwind
colors: {
  custom: {
    50: '#624f8a',
    500: '#1a0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f5b;
$custom-light: #624f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f5b",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 248.684,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24954,
    "c": 0.12583,
    "h": 278.7
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#1A0F5B
secondary
#869531
accent
#EE39D4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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