#1A0F66#1A0F66

#1A0F66 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.140 H 276.4°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#1A0F66
RGBrgb(26, 15, 102)
HSLhsl(248, 74%, 23%)
HSVhsv(248, 85%, 40%)
CMYKcmyk(74.5%, 85.3%, 0%, 60%)
CIE-LABlab(12.74, 34.05, -48.18)
CIE-LCHlch(12.74, 59.00, 305.25°)
OKLaboklab(26.29% 0.0156 -0.1393)
OKLCHoklch(26.29% 0.14 276.4)
XYZxyz(2.9943, 1.5203, 12.7034)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F66 #5B660F
analogous
#0F2F66 #1A0F66 #450F66
triadic
#1A0F66 #661A0F #0F661A
tetradic
#1A0F66 #660F2F #5B660F #0F6645
square
#1A0F66 #660F2F #5B660F #0F6645
split-complementary
#1A0F66 #66450F #2F660F
monochromatic
#07041B #0C0731 #1A0F66 #28179B #351FD1

Accessibility & contrast

On white

16.10
#1A0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1A0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F66
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F66#FFFFFF#000000##FFFFFF
##1A0F661.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a0f66;
/* rgb */ color: rgb(26, 15, 102);
/* oklch */ color: oklch(26.3% 0.140 276.4);
Tailwind
colors: {
  custom: {
    50: '#655093',
    500: '#1a0f66',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f66;
$custom-light: #655093;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f66",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 247.586,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26288,
    "c": 0.14013,
    "h": 276.4
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#1A0F66
secondary
#919F32
accent
#F137D9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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