#1A1D77#1A1D77

#1A1D77 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.148 H 271.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#1A1D77
RGBrgb(26, 29, 119)
HSLhsl(238, 64%, 28%)
HSVhsv(238, 78%, 47%)
CMYKcmyk(78.2%, 75.6%, 0%, 53.3%)
CIE-LABlab(17.60, 31.87, -51.22)
CIE-LCHlch(17.60, 60.32, 301.89°)
OKLaboklab(30.3% 0.0049 -0.1482)
OKLCHoklch(30.3% 0.148 271.9)
XYZxyz(4.1940, 2.4298, 17.6972)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1D77 #77741A
analogous
#1A4B77 #1A1D77 #451A77
triadic
#1A1D77 #771A1D #1D771A
tetradic
#1A1D77 #771A4B #77741A #1A7745
square
#1A1D77 #771A4B #77741A #1A7745
split-complementary
#1A1D77 #77451A #4B771A
monochromatic
#050619 #0F1145 #1A1D77 #2529A9 #383DD3

Accessibility & contrast

On white

14.13
#1A1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A1D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1D77
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1D77#FFFFFF#000000##FFFFFF
##1A1D771.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002775
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a1d77;
/* rgb */ color: rgb(26, 29, 119);
/* oklch */ color: oklch(30.3% 0.148 271.9);
Tailwind
colors: {
  custom: {
    50: '#685a9f',
    500: '#1a1d77',
    950: '#000000',
  },
}
SCSS
$custom: #1a1d77;
$custom-light: #685a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1d77",
  "rgb": {
    "r": 26,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 238.065,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30302,
    "c": 0.14833,
    "h": 271.9
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#1A1D77
secondary
#ACA841
accent
#E241E7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1A1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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