#1A3479#1A3479

#1A3479 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.0% C 0.122 H 265.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#1A3479
RGBrgb(26, 52, 121)
HSLhsl(224, 65%, 29%)
HSVhsv(224, 79%, 47%)
CMYKcmyk(78.5%, 57%, 0%, 52.5%)
CIE-LABlab(23.85, 16.85, -42.26)
CIE-LCHlch(23.85, 45.49, 291.74°)
OKLaboklab(34.97% -0.0106 -0.1218)
OKLCHoklch(34.97% 0.122 265)
XYZxyz(5.1040, 4.0555, 18.5992)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3479 #795F1A
analogous
#1A6479 #1A3479 #301A79
triadic
#1A3479 #791A34 #34791A
tetradic
#1A3479 #791A64 #795F1A #1A7930
square
#1A3479 #791A64 #795F1A #1A7930
split-complementary
#1A3479 #79301A #64791A
monochromatic
#050B19 #0F1E47 #1A3479 #254AAB #3964D4

Accessibility & contrast

On white

11.59
#1A3479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1A3479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3479
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3479#FFFFFF#000000##FFFFFF
##1A34791.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3479;
/* rgb */ color: rgb(26, 52, 121);
/* oklch */ color: oklch(35.0% 0.122 265.0);
Tailwind
colors: {
  custom: {
    50: '#666ba0',
    500: '#1a3479',
    950: '#000000',
  },
}
SCSS
$custom: #1a3479;
$custom-light: #666ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3479",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 223.579,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.12227,
    "h": 265
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#1A3479
secondary
#AD9041
accent
#BA40E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1A3479

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

Preview Lab → · Contrast checker → · Palette generator →

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