#1A0F5A#1A0F5A

#1A0F5A is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.124 H 278.9°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#1A0F5A
RGBrgb(26, 15, 90)
HSLhsl(249, 71%, 21%)
HSVhsv(249, 83%, 35%)
CMYKcmyk(71.1%, 83.3%, 0%, 64.7%)
CIE-LABlab(11.27, 29.99, -42.59)
CIE-LCHlch(11.27, 52.09, 305.15°)
OKLaboklab(24.84% 0.0193 -0.123)
OKLCHoklch(24.84% 0.125 278.9)
XYZxyz(2.4417, 1.2992, 9.7930)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F5A #4F5A0F
analogous
#0F295A #1A0F5A #3F0F5A
triadic
#1A0F5A #5A1A0F #0F5A1A
tetradic
#1A0F5A #5A0F29 #4F5A0F #0F5A3F
square
#1A0F5A #5A0F29 #4F5A0F #0F5A3F
split-complementary
#1A0F5A #5A3F0F #295A0F
monochromatic
#08041A #0B0626 #1A0F5A #29188E #3820C3

Accessibility & contrast

On white

16.67
#1A0F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0F5A
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F5A#FFFFFF#000000##FFFFFF
##1A0F5A1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a0f5a;
/* rgb */ color: rgb(26, 15, 90);
/* oklch */ color: oklch(24.8% 0.124 278.9);
Tailwind
colors: {
  custom: {
    50: '#614f8a',
    500: '#1a0f5a',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f5a;
$custom-light: #614f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f5a",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 248.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24836,
    "c": 0.1245,
    "h": 278.9
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#1A0F5A
secondary
#859431
accent
#EE3AD4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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