#1A327F#1A327F

#1A327F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.134 H 266.3°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1A327F
RGBrgb(26, 50, 127)
HSLhsl(226, 66%, 30%)
HSVhsv(226, 80%, 50%)
CMYKcmyk(79.5%, 60.6%, 0%, 50.2%)
CIE-LABlab(23.78, 20.71, -46.17)
CIE-LCHlch(23.78, 50.60, 294.16°)
OKLaboklab(35.07% -0.0087 -0.1333)
OKLCHoklch(35.07% 0.134 266.3)
XYZxyz(5.3960, 4.0325, 20.5685)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A327F #7F671A
analogous
#1A647F #1A327F #351A7F
triadic
#1A327F #7F1A32 #327F1A
tetradic
#1A327F #7F1A64 #7F671A #1A7F35
square
#1A327F #7F1A64 #7F671A #1A7F35
split-complementary
#1A327F #7F351A #647F1A
monochromatic
#050A19 #101E4C #1A327F #2446B2 #3C61D7

Accessibility & contrast

On white

11.62
#1A327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A327F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A327F#FFFFFF#000000##FFFFFF
##1A327F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a327f;
/* rgb */ color: rgb(26, 50, 127);
/* oklch */ color: oklch(35.1% 0.134 266.3);
Tailwind
colors: {
  custom: {
    50: '#6869a5',
    500: '#1a327f',
    950: '#000000',
  },
}
SCSS
$custom: #1a327f;
$custom-light: #6869a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a327f",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 225.743,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.35066,
    "c": 0.13364,
    "h": 266.3
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#1A327F
secondary
#B39842
accent
#C13FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A327F

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

Preview Lab → · Contrast checker → · Palette generator →

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