#1A0F5D#1A0F5D

#1A0F5D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.128 H 278.2°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#1A0F5D
RGBrgb(26, 15, 93)
HSLhsl(248, 72%, 21%)
HSVhsv(248, 84%, 36%)
CMYKcmyk(72%, 83.9%, 0%, 63.5%)
CIE-LABlab(11.63, 31.02, -44.02)
CIE-LCHlch(11.63, 53.85, 305.17°)
OKLaboklab(25.19% 0.0184 -0.1272)
OKLCHoklch(25.19% 0.128 278.2)
XYZxyz(2.5720, 1.3514, 10.4791)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F5D #525D0F
analogous
#0F2B5D #1A0F5D #410F5D
triadic
#1A0F5D #5D1A0F #0F5D1A
tetradic
#1A0F5D #5D0F2B #525D0F #0F5D41
square
#1A0F5D #5D0F2B #525D0F #0F5D41
split-complementary
#1A0F5D #5D410F #2B5D0F
monochromatic
#07041A #0B0628 #1A0F5D #291792 #3720C6

Accessibility & contrast

On white

16.53
#1A0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0F5D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F5D#FFFFFF#000000##FFFFFF
##1A0F5D1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a0f5d;
/* rgb */ color: rgb(26, 15, 93);
/* oklch */ color: oklch(25.2% 0.128 278.2);
Tailwind
colors: {
  custom: {
    50: '#62508c',
    500: '#1a0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f5d;
$custom-light: #62508c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f5d",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 248.462,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25194,
    "c": 0.12847,
    "h": 278.2
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#1A0F5D
secondary
#889631
accent
#EF39D5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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