#1A1670#1A1670

#1A1670 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.146 H 273.8°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1A1670
RGBrgb(26, 22, 112)
HSLhsl(243, 67%, 26%)
HSVhsv(243, 80%, 44%)
CMYKcmyk(76.8%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.29, 33.61, -50.51)
CIE-LCHlch(15.29, 60.67, 303.64°)
OKLaboklab(28.43% 0.0097 -0.1461)
OKLCHoklch(28.43% 0.146 273.8)
XYZxyz(3.6366, 1.9629, 15.5133)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1670 #6C7016
analogous
#163F70 #1A1670 #471670
triadic
#1A1670 #701A16 #16701A
tetradic
#1A1670 #70163F #6C7016 #167047
square
#1A1670 #70163F #6C7016 #167047
split-complementary
#1A1670 #704716 #3F7016
monochromatic
#06051A #0E0C3D #1A1670 #2620A3 #332BD5

Accessibility & contrast

On white

15.08
#1A1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1670
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1670#FFFFFF#000000##FFFFFF
##1A16701.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a1670;
/* rgb */ color: rgb(26, 22, 112);
/* oklch */ color: oklch(28.4% 0.146 273.8);
Tailwind
colors: {
  custom: {
    50: '#67559a',
    500: '#1a1670',
    950: '#000000',
  },
}
SCSS
$custom: #1a1670;
$custom-light: #67559a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1670",
  "rgb": {
    "r": 26,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 242.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2843,
    "c": 0.14644,
    "h": 273.8
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#1A1670
secondary
#A1A63C
accent
#EA3EE2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A1670

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

Preview Lab → · Contrast checker → · Palette generator →

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