#1A1579#1A1579

#1A1579 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.159 H 272.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#1A1579
RGBrgb(26, 21, 121)
HSLhsl(243, 70%, 28%)
HSVhsv(243, 83%, 47%)
CMYKcmyk(78.5%, 82.6%, 0%, 52.5%)
CIE-LABlab(16.19, 37.25, -54.84)
CIE-LCHlch(16.19, 66.30, 304.19°)
OKLaboklab(29.37% 0.0079 -0.1587)
OKLCHoklch(29.37% 0.159 272.9)
XYZxyz(4.1442, 2.1360, 18.2793)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1579 #747915
analogous
#154279 #1A1579 #4C1579
triadic
#1A1579 #791A15 #15791A
tetradic
#1A1579 #791542 #747915 #15794C
square
#1A1579 #791542 #747915 #15794C
split-complementary
#1A1579 #794C15 #427915
monochromatic
#06051A #0F0C45 #1A1579 #251EAD #362EDB

Accessibility & contrast

On white

14.71
#1A1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1579
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1579#FFFFFF#000000##FFFFFF
##1A15791.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a1579;
/* rgb */ color: rgb(26, 21, 121);
/* oklch */ color: oklch(29.4% 0.159 272.9);
Tailwind
colors: {
  custom: {
    50: '#6955a1',
    500: '#1a1579',
    950: '#000000',
  },
}
SCSS
$custom: #1a1579;
$custom-light: #6955a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1579",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 243,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29374,
    "c": 0.15888,
    "h": 272.9
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#1A1579
secondary
#A9AF3B
accent
#ED3BE4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A1579

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

Preview Lab → · Contrast checker → · Palette generator →

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