#1A327E#1A327E

#1A327E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.132 H 266.2°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#1A327E
RGBrgb(26, 50, 126)
HSLhsl(226, 66%, 30%)
HSVhsv(226, 79%, 49%)
CMYKcmyk(79.4%, 60.3%, 0%, 50.6%)
CIE-LABlab(23.69, 20.30, -45.68)
CIE-LCHlch(23.69, 49.99, 293.96°)
OKLaboklab(34.98% -0.0088 -0.1319)
OKLCHoklch(34.98% 0.132 266.2)
XYZxyz(5.3312, 4.0066, 20.2270)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A327E #7E661A
analogous
#1A647E #1A327E #341A7E
triadic
#1A327E #7E1A32 #327E1A
tetradic
#1A327E #7E1A64 #7E661A #1A7E34
square
#1A327E #7E1A64 #7E661A #1A7E34
split-complementary
#1A327E #7E341A #647E1A
monochromatic
#050A19 #101E4B #1A327E #2446B1 #3C61D7

Accessibility & contrast

On white

11.66
#1A327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A327E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A327E#FFFFFF#000000##FFFFFF
##1A327E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a327e;
/* rgb */ color: rgb(26, 50, 126);
/* oklch */ color: oklch(35.0% 0.132 266.2);
Tailwind
colors: {
  custom: {
    50: '#6869a4',
    500: '#1a327e',
    950: '#000000',
  },
}
SCSS
$custom: #1a327e;
$custom-light: #6869a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a327e",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 225.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.1322,
    "h": 266.2
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#1A327E
secondary
#B29742
accent
#C03FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A327E

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

Preview Lab → · Contrast checker → · Palette generator →

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