#1A1E77#1A1E77

#1A1E77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.147 H 271.7°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#1A1E77
RGBrgb(26, 30, 119)
HSLhsl(237, 64%, 28%)
HSVhsv(237, 78%, 47%)
CMYKcmyk(78.2%, 74.8%, 0%, 53.3%)
CIE-LABlab(17.83, 31.23, -50.84)
CIE-LCHlch(17.83, 59.67, 301.56°)
OKLaboklab(30.47% 0.0044 -0.1472)
OKLCHoklch(30.47% 0.147 271.7)
XYZxyz(4.2189, 2.4796, 17.7055)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E77 #77731A
analogous
#1A4C77 #1A1E77 #441A77
triadic
#1A1E77 #771A1E #1E771A
tetradic
#1A1E77 #771A4C #77731A #1A7744
square
#1A1E77 #771A4C #77731A #1A7744
split-complementary
#1A1E77 #77441A #4C771A
monochromatic
#050619 #0F1145 #1A1E77 #252BA9 #383FD3

Accessibility & contrast

On white

14.04
#1A1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E77
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E77#FFFFFF#000000##FFFFFF
##1A1E771.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1e77;
/* rgb */ color: rgb(26, 30, 119);
/* oklch */ color: oklch(30.5% 0.147 271.7);
Tailwind
colors: {
  custom: {
    50: '#685a9f',
    500: '#1a1e77',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e77;
$custom-light: #685a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e77",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 237.419,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30466,
    "c": 0.14722,
    "h": 271.7
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#1A1E77
secondary
#ACA741
accent
#E041E7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1A1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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