#1A3579#1A3579

#1A3579 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.121 H 264.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1A3579
RGBrgb(26, 53, 121)
HSLhsl(223, 65%, 29%)
HSVhsv(223, 79%, 47%)
CMYKcmyk(78.5%, 56.2%, 0%, 52.5%)
CIE-LABlab(24.15, 16.14, -41.78)
CIE-LCHlch(24.15, 44.79, 291.12°)
OKLaboklab(35.19% -0.0114 -0.1204)
OKLCHoklch(35.19% 0.121 264.6)
XYZxyz(5.1491, 4.1457, 18.6143)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3579 #795E1A
analogous
#1A6579 #1A3579 #2F1A79
triadic
#1A3579 #791A35 #35791A
tetradic
#1A3579 #791A65 #795E1A #1A792F
square
#1A3579 #791A65 #795E1A #1A792F
split-complementary
#1A3579 #792F1A #65791A
monochromatic
#050B19 #0F1F47 #1A3579 #254BAB #3965D4

Accessibility & contrast

On white

11.48
#1A3579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A3579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3579
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3579#FFFFFF#000000##FFFFFF
##1A35791.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3579;
/* rgb */ color: rgb(26, 53, 121);
/* oklch */ color: oklch(35.2% 0.121 264.6);
Tailwind
colors: {
  custom: {
    50: '#666ba0',
    500: '#1a3579',
    950: '#000000',
  },
}
SCSS
$custom: #1a3579;
$custom-light: #666ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3579",
  "rgb": {
    "r": 26,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 222.947,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.12093,
    "h": 264.6
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#1A3579
secondary
#AD8F41
accent
#B840E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1A3579

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

Preview Lab → · Contrast checker → · Palette generator →

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