#1A0F5E#1A0F5E

#1A0F5E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.130 H 278.0°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#1A0F5E
RGBrgb(26, 15, 94)
HSLhsl(248, 72%, 21%)
HSVhsv(248, 84%, 37%)
CMYKcmyk(72.3%, 84%, 0%, 63.1%)
CIE-LABlab(11.75, 31.36, -44.49)
CIE-LCHlch(11.75, 54.43, 305.18°)
OKLaboklab(25.31% 0.0181 -0.1285)
OKLCHoklch(25.31% 0.13 278)
XYZxyz(2.6166, 1.3692, 10.7139)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F5E #535E0F
analogous
#0F2C5E #1A0F5E #420F5E
triadic
#1A0F5E #5E1A0F #0F5E1A
tetradic
#1A0F5E #5E0F2C #535E0F #0F5E42
square
#1A0F5E #5E0F2C #535E0F #0F5E42
split-complementary
#1A0F5E #5E420F #2C5E0F
monochromatic
#07041A #0B0729 #1A0F5E #291793 #3720C8

Accessibility & contrast

On white

16.49
#1A0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1A0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F5E
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F5E#FFFFFF#000000##FFFFFF
##1A0F5E1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a0f5e;
/* rgb */ color: rgb(26, 15, 94);
/* oklch */ color: oklch(25.3% 0.130 278.0);
Tailwind
colors: {
  custom: {
    50: '#63508d',
    500: '#1a0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f5e;
$custom-light: #63508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f5e",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 248.354,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25314,
    "c": 0.12978,
    "h": 278
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#1A0F5E
secondary
#899731
accent
#EF39D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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