#1A1879#1A1879

#1A1879 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.156 H 272.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#1A1879
RGBrgb(26, 24, 121)
HSLhsl(241, 67%, 28%)
HSVhsv(241, 80%, 47%)
CMYKcmyk(78.5%, 80.2%, 0%, 52.5%)
CIE-LABlab(16.76, 35.59, -53.88)
CIE-LCHlch(16.76, 64.58, 303.45°)
OKLaboklab(29.78% 0.0068 -0.1559)
OKLCHoklch(29.78% 0.156 272.5)
XYZxyz(4.2027, 2.2529, 18.2988)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1879 #777918
analogous
#184679 #1A1879 #4A1879
triadic
#1A1879 #791A18 #18791A
tetradic
#1A1879 #791846 #777918 #18794A
square
#1A1879 #791846 #777918 #18794A
split-complementary
#1A1879 #794A18 #467918
monochromatic
#05051A #0F0E46 #1A1879 #2522AC #3835D7

Accessibility & contrast

On white

14.48
#1A1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1879
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1879#FFFFFF#000000##FFFFFF
##1A18791.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a1879;
/* rgb */ color: rgb(26, 24, 121);
/* oklch */ color: oklch(29.8% 0.156 272.5);
Tailwind
colors: {
  custom: {
    50: '#6957a1',
    500: '#1a1879',
    950: '#000000',
  },
}
SCSS
$custom: #1a1879;
$custom-light: #6957a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1879",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 241.237,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29778,
    "c": 0.1561,
    "h": 272.5
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#1A1879
secondary
#ACAE3F
accent
#EA3EE6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A1879

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

Preview Lab → · Contrast checker → · Palette generator →

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