#1A0F6A#1A0F6A

#1A0F6A is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.145 H 275.7°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1A0F6A
RGBrgb(26, 15, 106)
HSLhsl(247, 75%, 24%)
HSVhsv(247, 86%, 42%)
CMYKcmyk(75.5%, 85.8%, 0%, 58.4%)
CIE-LABlab(13.24, 35.37, -49.98)
CIE-LCHlch(13.24, 61.24, 305.29°)
OKLaboklab(26.78% 0.0144 -0.1445)
OKLCHoklch(26.78% 0.145 275.7)
XYZxyz(3.1975, 1.6016, 13.7735)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F6A #5F6A0F
analogous
#0F316A #1A0F6A #470F6A
triadic
#1A0F6A #6A1A0F #0F6A1A
tetradic
#1A0F6A #6A0F31 #5F6A0F #0F6A47
square
#1A0F6A #6A0F31 #5F6A0F #0F6A47
split-complementary
#1A0F6A #6A470F #316A0F
monochromatic
#07041B #0D0734 #1A0F6A #2717A0 #341ED5

Accessibility & contrast

On white

15.90
#1A0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1A0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F6A
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F6A#FFFFFF#000000##FFFFFF
##1A0F6A1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266C
Deuteranopia (green-blind)
#001E68
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a0f6a;
/* rgb */ color: rgb(26, 15, 106);
/* oklch */ color: oklch(26.8% 0.145 275.7);
Tailwind
colors: {
  custom: {
    50: '#665196',
    500: '#1a0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f6a;
$custom-light: #665196;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f6a",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 247.253,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26783,
    "c": 0.1452,
    "h": 275.7
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#1A0F6A
secondary
#95A232
accent
#F236DB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1A0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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