#1A1576#1A1576

#1A1576 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.155 H 273.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#1A1576
RGBrgb(26, 21, 118)
HSLhsl(243, 70%, 27%)
HSVhsv(243, 82%, 46%)
CMYKcmyk(78%, 82.2%, 0%, 53.7%)
CIE-LABlab(15.82, 36.24, -53.52)
CIE-LCHlch(15.82, 64.64, 304.10°)
OKLaboklab(29.01% 0.0087 -0.1548)
OKLCHoklch(29.01% 0.155 273.2)
XYZxyz(3.9631, 2.0635, 17.3255)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1576 #717615
analogous
#154076 #1A1576 #4B1576
triadic
#1A1576 #761A15 #15761A
tetradic
#1A1576 #761540 #717615 #15764B
square
#1A1576 #761540 #717615 #15764B
split-complementary
#1A1576 #764B15 #407615
monochromatic
#06051A #0F0C42 #1A1576 #251EAA #352CD9

Accessibility & contrast

On white

14.86
#1A1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1576
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1576#FFFFFF#000000##FFFFFF
##1A15761.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a1576;
/* rgb */ color: rgb(26, 21, 118);
/* oklch */ color: oklch(29.0% 0.155 273.2);
Tailwind
colors: {
  custom: {
    50: '#68559f',
    500: '#1a1576',
    950: '#000000',
  },
}
SCSS
$custom: #1a1576;
$custom-light: #68559f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1576",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 243.093,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.15509,
    "h": 273.2
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#1A1576
secondary
#A6AC3B
accent
#ED3BE3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1A1576

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

Preview Lab → · Contrast checker → · Palette generator →

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