#1A0F76#1A0F76

#1A0F76 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.160 H 273.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#1A0F76
RGBrgb(26, 15, 118)
HSLhsl(246, 77%, 26%)
HSVhsv(246, 87%, 46%)
CMYKcmyk(78%, 87.3%, 0%, 53.7%)
CIE-LABlab(14.78, 39.26, -55.23)
CIE-LCHlch(14.78, 67.77, 305.41°)
OKLaboklab(28.29% 0.0107 -0.1597)
OKLCHoklch(28.29% 0.16 273.8)
XYZxyz(3.8658, 1.8689, 17.2930)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F76 #6B760F
analogous
#0F3776 #1A0F76 #4D0F76
triadic
#1A0F76 #761A0F #0F761A
tetradic
#1A0F76 #760F37 #6B760F #0F764D
square
#1A0F76 #760F37 #6B760F #0F764D
split-complementary
#1A0F76 #764D0F #37760F
monochromatic
#06031B #0E0840 #1A0F76 #2616AC #321DE2

Accessibility & contrast

On white

15.29
#1A0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F76
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F76#FFFFFF#000000##FFFFFF
##1A0F761.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a0f76;
/* rgb */ color: rgb(26, 15, 118);
/* oklch */ color: oklch(28.3% 0.160 273.8);
Tailwind
colors: {
  custom: {
    50: '#69529f',
    500: '#1a0f76',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f76;
$custom-light: #69529f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f76",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 246.408,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28293,
    "c": 0.16007,
    "h": 273.8
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#1A0F76
secondary
#A0AD33
accent
#F434DF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #1A0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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