#1A0F6D#1A0F6D

#1A0F6D is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.149 H 275.2°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#1A0F6D
RGBrgb(26, 15, 109)
HSLhsl(247, 76%, 24%)
HSVhsv(247, 86%, 43%)
CMYKcmyk(76.1%, 86.2%, 0%, 57.3%)
CIE-LABlab(13.62, 36.36, -51.32)
CIE-LCHlch(13.62, 62.89, 305.32°)
OKLaboklab(27.16% 0.0135 -0.1484)
OKLCHoklch(27.16% 0.149 275.2)
XYZxyz(3.3562, 1.6651, 14.6095)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F6D #626D0F
analogous
#0F336D #1A0F6D #490F6D
triadic
#1A0F6D #6D1A0F #0F6D1A
tetradic
#1A0F6D #6D0F33 #626D0F #0F6D49
square
#1A0F6D #6D0F33 #626D0F #0F6D49
split-complementary
#1A0F6D #6D490F #336D0F
monochromatic
#06041B #0D0837 #1A0F6D #2716A3 #341ED9

Accessibility & contrast

On white

15.75
#1A0F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1A0F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F6D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F6D#FFFFFF#000000##FFFFFF
##1A0F6D1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002770
Deuteranopia (green-blind)
#001F6B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a0f6d;
/* rgb */ color: rgb(26, 15, 109);
/* oklch */ color: oklch(27.2% 0.149 275.2);
Tailwind
colors: {
  custom: {
    50: '#665198',
    500: '#1a0f6d',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f6d;
$custom-light: #665198;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f6d",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 109
  },
  "hsl": {
    "h": 247.021,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27158,
    "c": 0.14897,
    "h": 275.2
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#1A0F6D
secondary
#98A533
accent
#F235DC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A0F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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