#1A1072#1A1072

#1A1072 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.154 H 274.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#1A1072
RGBrgb(26, 16, 114)
HSLhsl(246, 75%, 25%)
HSVhsv(246, 86%, 45%)
CMYKcmyk(77.2%, 86%, 0%, 55.3%)
CIE-LABlab(14.43, 37.50, -53.24)
CIE-LCHlch(14.43, 65.12, 305.16°)
OKLaboklab(27.9% 0.0116 -0.1539)
OKLCHoklch(27.9% 0.154 274.3)
XYZxyz(3.6475, 1.8047, 16.0724)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1072 #687210
analogous
#103772 #1A1072 #4B1072
triadic
#1A1072 #721A10 #10721A
tetradic
#1A1072 #721037 #687210 #10724B
square
#1A1072 #721037 #687210 #10724B
split-complementary
#1A1072 #724B10 #377210
monochromatic
#06041B #0E083C #1A1072 #2618A8 #321FDD

Accessibility & contrast

On white

15.43
#1A1072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1A1072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1072
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1072#FFFFFF#000000##FFFFFF
##1A10721.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a1072;
/* rgb */ color: rgb(26, 16, 114);
/* oklch */ color: oklch(27.9% 0.154 274.3);
Tailwind
colors: {
  custom: {
    50: '#68529c',
    500: '#1a1072',
    950: '#000000',
  },
}
SCSS
$custom: #1a1072;
$custom-light: #68529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1072",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 246.122,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27899,
    "c": 0.15439,
    "h": 274.3
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#1A1072
secondary
#9DA934
accent
#F236DF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A1072

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

Preview Lab → · Contrast checker → · Palette generator →

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