#1A1977#1A1977

#1A1977 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.153 H 272.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#1A1977
RGBrgb(26, 25, 119)
HSLhsl(241, 65%, 28%)
HSVhsv(241, 79%, 47%)
CMYKcmyk(78.2%, 79%, 0%, 53.3%)
CIE-LABlab(16.73, 34.31, -52.65)
CIE-LCHlch(16.73, 62.84, 303.09°)
OKLaboklab(29.69% 0.0068 -0.1524)
OKLCHoklch(29.69% 0.153 272.5)
XYZxyz(4.1023, 2.2464, 17.6666)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1977 #767719
analogous
#194777 #1A1977 #491977
triadic
#1A1977 #771A19 #19771A
tetradic
#1A1977 #771947 #767719 #197749
square
#1A1977 #771947 #767719 #197749
split-complementary
#1A1977 #774919 #477719
monochromatic
#060519 #0F0E44 #1A1977 #2524AA #3736D5

Accessibility & contrast

On white

14.49
#1A1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1977
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1977#FFFFFF#000000##FFFFFF
##1A19771.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a1977;
/* rgb */ color: rgb(26, 25, 119);
/* oklch */ color: oklch(29.7% 0.153 272.5);
Tailwind
colors: {
  custom: {
    50: '#68579f',
    500: '#1a1977',
    950: '#000000',
  },
}
SCSS
$custom: #1a1977;
$custom-light: #68579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1977",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 240.638,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.15253,
    "h": 272.5
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#1A1977
secondary
#ABAC40
accent
#E840E6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1A1977

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

Preview Lab → · Contrast checker → · Palette generator →

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