#1A1479#1A1479

#1A1479 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.160 H 273.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#1A1479
RGBrgb(26, 20, 121)
HSLhsl(244, 72%, 28%)
HSVhsv(244, 83%, 47%)
CMYKcmyk(78.5%, 83.5%, 0%, 52.5%)
CIE-LABlab(16.00, 37.78, -55.14)
CIE-LCHlch(16.00, 66.84, 304.42°)
OKLaboklab(29.25% 0.0083 -0.1595)
OKLCHoklch(29.25% 0.16 273)
XYZxyz(4.1262, 2.1000, 18.2733)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1479 #737914
analogous
#144179 #1A1479 #4C1479
triadic
#1A1479 #791A14 #14791A
tetradic
#1A1479 #791441 #737914 #14794C
square
#1A1479 #791441 #737914 #14794C
split-complementary
#1A1479 #794C14 #417914
monochromatic
#06041A #0F0B44 #1A1479 #251DAE #362BDC

Accessibility & contrast

On white

14.79
#1A1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1479
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1479#FFFFFF#000000##FFFFFF
##1A14791.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1479;
/* rgb */ color: rgb(26, 20, 121);
/* oklch */ color: oklch(29.2% 0.160 273.0);
Tailwind
colors: {
  custom: {
    50: '#6954a1',
    500: '#1a1479',
    950: '#000000',
  },
}
SCSS
$custom: #1a1479;
$custom-light: #6954a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1479",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 243.564,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29247,
    "c": 0.15975,
    "h": 273
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#1A1479
secondary
#A8AF3A
accent
#EE39E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A1479

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

Preview Lab → · Contrast checker → · Palette generator →

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