#1A1779#1A1779

#1A1779 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.157 H 272.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#1A1779
RGBrgb(26, 23, 121)
HSLhsl(242, 68%, 28%)
HSVhsv(242, 81%, 47%)
CMYKcmyk(78.5%, 81%, 0%, 52.5%)
CIE-LABlab(16.56, 36.16, -54.21)
CIE-LCHlch(16.56, 65.16, 303.70°)
OKLaboklab(29.64% 0.0072 -0.1569)
OKLCHoklch(29.64% 0.157 272.6)
XYZxyz(4.1824, 2.2124, 18.2921)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1779 #767917
analogous
#174579 #1A1779 #4B1779
triadic
#1A1779 #791A17 #17791A
tetradic
#1A1779 #791745 #767917 #17794B
square
#1A1779 #791745 #767917 #17794B
split-complementary
#1A1779 #794B17 #457917
monochromatic
#06051A #0F0D46 #1A1779 #2521AC #3732D8

Accessibility & contrast

On white

14.56
#1A1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A1779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1779
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1779#FFFFFF#000000##FFFFFF
##1A17791.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a1779;
/* rgb */ color: rgb(26, 23, 121);
/* oklch */ color: oklch(29.6% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#6956a1',
    500: '#1a1779',
    950: '#000000',
  },
}
SCSS
$custom: #1a1779;
$custom-light: #6956a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1779",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 241.837,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29639,
    "c": 0.15704,
    "h": 272.6
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#1A1779
secondary
#ABAE3E
accent
#EB3DE6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A1779

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

Preview Lab → · Contrast checker → · Palette generator →

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