#1A3979#1A3979

#1A3979 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.116 H 262.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1A3979
RGBrgb(26, 57, 121)
HSLhsl(220, 65%, 29%)
HSVhsv(220, 79%, 47%)
CMYKcmyk(78.5%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.34, 13.31, -39.85)
CIE-LCHlch(25.34, 42.02, 288.46°)
OKLaboklab(36.09% -0.0148 -0.1146)
OKLCHoklch(36.09% 0.116 262.6)
XYZxyz(5.3391, 4.5257, 18.6776)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3979 #795A1A
analogous
#1A6979 #1A3979 #2B1A79
triadic
#1A3979 #791A39 #39791A
tetradic
#1A3979 #791A69 #795A1A #1A792B
square
#1A3979 #791A69 #795A1A #1A792B
split-complementary
#1A3979 #792B1A #69791A
monochromatic
#050C19 #0F2147 #1A3979 #2551AB #396CD4

Accessibility & contrast

On white

11.02
#1A3979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1A3979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3979
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3979#FFFFFF#000000##FFFFFF
##1A39791.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a3979;
/* rgb */ color: rgb(26, 57, 121);
/* oklch */ color: oklch(36.1% 0.116 262.6);
Tailwind
colors: {
  custom: {
    50: '#666ea0',
    500: '#1a3979',
    950: '#000000',
  },
}
SCSS
$custom: #1a3979;
$custom-light: #666ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3979",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 220.421,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.11559,
    "h": 262.6
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#1A3979
secondary
#AD8A41
accent
#B140E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1A3979

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

Preview Lab → · Contrast checker → · Palette generator →

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