#1A0F5F#1A0F5F

#1A0F5F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.131 H 277.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#1A0F5F
RGBrgb(26, 15, 95)
HSLhsl(248, 73%, 22%)
HSVhsv(248, 84%, 37%)
CMYKcmyk(72.6%, 84.2%, 0%, 62.7%)
CIE-LABlab(11.87, 31.70, -44.96)
CIE-LCHlch(11.87, 55.01, 305.19°)
OKLaboklab(25.43% 0.0178 -0.1299)
OKLCHoklch(25.43% 0.131 277.8)
XYZxyz(2.6617, 1.3872, 10.9517)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F5F #545F0F
analogous
#0F2C5F #1A0F5F #420F5F
triadic
#1A0F5F #5F1A0F #0F5F1A
tetradic
#1A0F5F #5F0F2C #545F0F #0F5F42
square
#1A0F5F #5F0F2C #545F0F #0F5F42
split-complementary
#1A0F5F #5F420F #2C5F0F
monochromatic
#07041A #0C072A #1A0F5F #281794 #3720C9

Accessibility & contrast

On white

16.44
#1A0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1A0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F5F
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F5F#FFFFFF#000000##FFFFFF
##1A0F5F1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a0f5f;
/* rgb */ color: rgb(26, 15, 95);
/* oklch */ color: oklch(25.4% 0.131 277.8);
Tailwind
colors: {
  custom: {
    50: '#63508d',
    500: '#1a0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f5f;
$custom-light: #63508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f5f",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 248.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25434,
    "c": 0.13109,
    "h": 277.8
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#1A0F5F
secondary
#8A9832
accent
#EF38D6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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