#1A1979#1A1979

#1A1979 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.155 H 272.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#1A1979
RGBrgb(26, 25, 121)
HSLhsl(241, 66%, 29%)
HSVhsv(241, 79%, 47%)
CMYKcmyk(78.5%, 79.3%, 0%, 52.5%)
CIE-LABlab(16.96, 35.01, -53.55)
CIE-LCHlch(16.96, 63.98, 303.18°)
OKLaboklab(29.92% 0.0064 -0.155)
OKLCHoklch(29.92% 0.155 272.3)
XYZxyz(4.2237, 2.2949, 18.3058)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1979 #787919
analogous
#194879 #1A1979 #4A1979
triadic
#1A1979 #791A19 #19791A
tetradic
#1A1979 #791948 #787919 #19794A
square
#1A1979 #791948 #787919 #19794A
split-complementary
#1A1979 #794A19 #487919
monochromatic
#050519 #0F0F46 #1A1979 #2523AC #3837D6

Accessibility & contrast

On white

14.39
#1A1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1979
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1979#FFFFFF#000000##FFFFFF
##1A19791.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a1979;
/* rgb */ color: rgb(26, 25, 121);
/* oklch */ color: oklch(29.9% 0.155 272.3);
Tailwind
colors: {
  custom: {
    50: '#6957a1',
    500: '#1a1979',
    950: '#000000',
  },
}
SCSS
$custom: #1a1979;
$custom-light: #6957a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1979",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 240.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.2992,
    "c": 0.15512,
    "h": 272.3
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#1A1979
secondary
#ACAE40
accent
#E93FE7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A1979

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

Preview Lab → · Contrast checker → · Palette generator →

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