#1A3879#1A3879

#1A3879 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.117 H 263.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#1A3879
RGBrgb(26, 56, 121)
HSLhsl(221, 65%, 29%)
HSVhsv(221, 79%, 47%)
CMYKcmyk(78.5%, 53.7%, 0%, 52.5%)
CIE-LABlab(25.04, 14.01, -40.34)
CIE-LCHlch(25.04, 42.70, 289.16°)
OKLaboklab(35.86% -0.014 -0.1161)
OKLCHoklch(35.86% 0.117 263.1)
XYZxyz(5.2901, 4.4278, 18.6613)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3879 #795B1A
analogous
#1A6879 #1A3879 #2C1A79
triadic
#1A3879 #791A38 #38791A
tetradic
#1A3879 #791A68 #795B1A #1A792C
square
#1A3879 #791A68 #795B1A #1A792C
split-complementary
#1A3879 #792C1A #68791A
monochromatic
#050C19 #0F2147 #1A3879 #254FAB #396AD4

Accessibility & contrast

On white

11.14
#1A3879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1A3879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3879
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3879#FFFFFF#000000##FFFFFF
##1A38791.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a3879;
/* rgb */ color: rgb(26, 56, 121);
/* oklch */ color: oklch(35.9% 0.117 263.1);
Tailwind
colors: {
  custom: {
    50: '#666ea0',
    500: '#1a3879',
    950: '#000000',
  },
}
SCSS
$custom: #1a3879;
$custom-light: #666ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3879",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 221.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35864,
    "c": 0.11693,
    "h": 263.1
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#1A3879
secondary
#AD8B41
accent
#B340E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1A3879

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

Preview Lab → · Contrast checker → · Palette generator →

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