#1A1673#1A1673

#1A1673 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.150 H 273.4°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#1A1673
RGBrgb(26, 22, 115)
HSLhsl(243, 68%, 27%)
HSVhsv(243, 81%, 45%)
CMYKcmyk(77.4%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.65, 34.65, -51.86)
CIE-LCHlch(15.65, 62.37, 303.75°)
OKLaboklab(28.79% 0.009 -0.1501)
OKLCHoklch(28.79% 0.15 273.4)
XYZxyz(3.8064, 2.0308, 16.4077)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1673 #6F7316
analogous
#164173 #1A1673 #491673
triadic
#1A1673 #731A16 #16731A
tetradic
#1A1673 #731641 #6F7316 #167349
square
#1A1673 #731641 #6F7316 #167349
split-complementary
#1A1673 #734916 #417316
monochromatic
#06051A #0E0C40 #1A1673 #2620A6 #342DD7

Accessibility & contrast

On white

14.93
#1A1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1673
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1673#FFFFFF#000000##FFFFFF
##1A16731.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a1673;
/* rgb */ color: rgb(26, 22, 115);
/* oklch */ color: oklch(28.8% 0.150 273.4);
Tailwind
colors: {
  custom: {
    50: '#67559c',
    500: '#1a1673',
    950: '#000000',
  },
}
SCSS
$custom: #1a1673;
$custom-light: #67559c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1673",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 242.581,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28785,
    "c": 0.15033,
    "h": 273.4
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#1A1673
secondary
#A4A93C
accent
#EB3DE3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1673

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

Preview Lab → · Contrast checker → · Palette generator →

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