#1A3379#1A3379

#1A3379 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.7% C 0.124 H 265.4°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1A3379
RGBrgb(26, 51, 121)
HSLhsl(224, 65%, 29%)
HSVhsv(224, 79%, 47%)
CMYKcmyk(78.5%, 57.9%, 0%, 52.5%)
CIE-LABlab(23.56, 17.56, -42.73)
CIE-LCHlch(23.56, 46.20, 292.34°)
OKLaboklab(34.75% -0.0098 -0.1232)
OKLCHoklch(34.75% 0.124 265.4)
XYZxyz(5.0598, 3.9672, 18.5845)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3379 #79601A
analogous
#1A6379 #1A3379 #311A79
triadic
#1A3379 #791A33 #33791A
tetradic
#1A3379 #791A63 #79601A #1A7931
square
#1A3379 #791A63 #79601A #1A7931
split-complementary
#1A3379 #79311A #63791A
monochromatic
#050B19 #0F1E47 #1A3379 #2548AB #3962D4

Accessibility & contrast

On white

11.71
#1A3379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A3379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3379
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3379#FFFFFF#000000##FFFFFF
##1A33791.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a3379;
/* rgb */ color: rgb(26, 51, 121);
/* oklch */ color: oklch(34.7% 0.124 265.4);
Tailwind
colors: {
  custom: {
    50: '#666aa0',
    500: '#1a3379',
    950: '#000000',
  },
}
SCSS
$custom: #1a3379;
$custom-light: #666aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3379",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 224.211,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34746,
    "c": 0.12361,
    "h": 265.4
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#1A3379
secondary
#AD9141
accent
#BC40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1A3379

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

Preview Lab → · Contrast checker → · Palette generator →

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