#1A1671#1A1671

#1A1671 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.148 H 273.7°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#1A1671
RGBrgb(26, 22, 113)
HSLhsl(243, 67%, 26%)
HSVhsv(243, 81%, 44%)
CMYKcmyk(77%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.41, 33.96, -50.96)
CIE-LCHlch(15.41, 61.24, 303.68°)
OKLaboklab(28.55% 0.0095 -0.1474)
OKLCHoklch(28.55% 0.148 273.7)
XYZxyz(3.6926, 1.9853, 15.8082)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1671 #6D7116
analogous
#164071 #1A1671 #481671
triadic
#1A1671 #711A16 #16711A
tetradic
#1A1671 #711640 #6D7116 #167148
square
#1A1671 #711640 #6D7116 #167148
split-complementary
#1A1671 #714816 #407116
monochromatic
#06051A #0E0C3E #1A1671 #2620A4 #332CD6

Accessibility & contrast

On white

15.03
#1A1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1671
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1671#FFFFFF#000000##FFFFFF
##1A16711.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a1671;
/* rgb */ color: rgb(26, 22, 113);
/* oklch */ color: oklch(28.5% 0.148 273.7);
Tailwind
colors: {
  custom: {
    50: '#67559b',
    500: '#1a1671',
    950: '#000000',
  },
}
SCSS
$custom: #1a1671;
$custom-light: #67559b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1671",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 242.637,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28548,
    "c": 0.14774,
    "h": 273.7
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#1A1671
secondary
#A2A73C
accent
#EA3EE3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1671

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

Preview Lab → · Contrast checker → · Palette generator →

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