#1A3C9E#1A3C9E

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

Color values

HEX#1A3C9E
RGBrgb(26, 60, 158)
HSLhsl(225, 72%, 36%)
HSVhsv(225, 84%, 62%)
CMYKcmyk(83.5%, 62%, 0%, 38%)
CIE-LABlab(29.21, 26.18, -56.47)
CIE-LCHlch(29.21, 62.24, 294.87°)
OKLaboklab(39.95% -0.0145 -0.1634)
OKLCHoklch(39.95% 0.164 264.9)
XYZxyz(8.2112, 5.9190, 33.0508)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C9E #9E7C1A
analogous
#1A7E9E #1A3C9E #3A1A9E
triadic
#1A3C9E #9E1A3C #3C9E1A
tetradic
#1A3C9E #9E1A7E #9E7C1A #1A9E3A
square
#1A3C9E #9E1A7E #9E7C1A #1A9E3A
split-complementary
#1A3C9E #9E3A1A #7E9E1A
monochromatic
#091435 #112869 #1A3C9E #2350D3 #5076E2

Accessibility & contrast

On white

9.62
#1A3C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3C9E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C9E#FFFFFF#000000##FFFFFF
##1A3C9E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3c9e;
/* rgb */ color: rgb(26, 60, 158);
/* oklch */ color: oklch(40.0% 0.164 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f71bc',
    500: '#1a3c9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c9e;
$custom-light: #6f71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c9e",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 224.545,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.16404,
    "h": 264.9
  },
  "luminance": 0.0592
}

Semantic roles & 50–950 ramp

primary
#1A3C9E
secondary
#C5A64F
accent
#C039EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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