#1A1877#1A1877

#1A1877 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.154 H 272.7°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#1A1877
RGBrgb(26, 24, 119)
HSLhsl(241, 66%, 28%)
HSVhsv(241, 80%, 47%)
CMYKcmyk(78.2%, 79.8%, 0%, 53.3%)
CIE-LABlab(16.53, 34.89, -52.99)
CIE-LCHlch(16.53, 63.45, 303.36°)
OKLaboklab(29.54% 0.0072 -0.1534)
OKLCHoklch(29.54% 0.154 272.7)
XYZxyz(4.0813, 2.2044, 17.6596)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1877 #757718
analogous
#184577 #1A1877 #491877
triadic
#1A1877 #771A18 #18771A
tetradic
#1A1877 #771845 #757718 #187749
square
#1A1877 #771845 #757718 #187749
split-complementary
#1A1877 #774918 #457718
monochromatic
#060519 #0F0E44 #1A1877 #2522AA #3733D6

Accessibility & contrast

On white

14.57
#1A1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1877
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1877#FFFFFF#000000##FFFFFF
##1A18771.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a1877;
/* rgb */ color: rgb(26, 24, 119);
/* oklch */ color: oklch(29.5% 0.154 272.7);
Tailwind
colors: {
  custom: {
    50: '#68579f',
    500: '#1a1877',
    950: '#000000',
  },
}
SCSS
$custom: #1a1877;
$custom-light: #68579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1877",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 241.263,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29542,
    "c": 0.15353,
    "h": 272.7
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#1A1877
secondary
#AAAC3F
accent
#E93EE6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1A1877

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

Preview Lab → · Contrast checker → · Palette generator →

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