#1A3C9D#1A3C9D

#1A3C9D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.163 H 264.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1A3C9D
RGBrgb(26, 60, 157)
HSLhsl(224, 72%, 36%)
HSVhsv(224, 83%, 62%)
CMYKcmyk(83.4%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.12, 25.78, -56.00)
CIE-LCHlch(29.12, 61.65, 294.72°)
OKLaboklab(39.86% -0.0145 -0.162)
OKLCHoklch(39.86% 0.163 264.9)
XYZxyz(8.1255, 5.8847, 32.5994)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C9D #9D7B1A
analogous
#1A7D9D #1A3C9D #391A9D
triadic
#1A3C9D #9D1A3C #3C9D1A
tetradic
#1A3C9D #9D1A7D #9D7B1A #1A9D39
square
#1A3C9D #9D1A7D #9D7B1A #1A9D39
split-complementary
#1A3C9D #9D391A #7D9D1A
monochromatic
#091434 #112868 #1A3C9D #2350D2 #4F75E2

Accessibility & contrast

On white

9.65
#1A3C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1A3C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C9D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C9D#FFFFFF#000000##FFFFFF
##1A3C9D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3c9d;
/* rgb */ color: rgb(26, 60, 157);
/* oklch */ color: oklch(39.9% 0.163 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f71bb',
    500: '#1a3c9d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c9d;
$custom-light: #6f71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c9d",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 224.427,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.16269,
    "h": 264.9
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#1A3C9D
secondary
#C4A64E
accent
#BF39EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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