#1A3B9E#1A3B9E

#1A3B9E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.165 H 265.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1A3B9E
RGBrgb(26, 59, 158)
HSLhsl(225, 72%, 36%)
HSVhsv(225, 84%, 62%)
CMYKcmyk(83.5%, 62.7%, 0%, 38%)
CIE-LABlab(28.94, 26.85, -56.90)
CIE-LCHlch(28.94, 62.92, 295.26°)
OKLaboklab(39.75% -0.0139 -0.1647)
OKLCHoklch(39.75% 0.165 265.2)
XYZxyz(8.1593, 5.8152, 33.0335)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B9E #9E7D1A
analogous
#1A7D9E #1A3B9E #3B1A9E
triadic
#1A3B9E #9E1A3B #3B9E1A
tetradic
#1A3B9E #9E1A7D #9E7D1A #1A9E3B
square
#1A3B9E #9E1A7D #9E7D1A #1A9E3B
split-complementary
#1A3B9E #9E3B1A #7D9E1A
monochromatic
#091435 #112769 #1A3B9E #234FD3 #5075E2

Accessibility & contrast

On white

9.71
#1A3B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A3B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B9E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B9E#FFFFFF#000000##FFFFFF
##1A3B9E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3b9e;
/* rgb */ color: rgb(26, 59, 158);
/* oklch */ color: oklch(39.8% 0.165 265.2);
Tailwind
colors: {
  custom: {
    50: '#6f70bc',
    500: '#1a3b9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b9e;
$custom-light: #6f70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b9e",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 158
  },
  "hsl": {
    "h": 225,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.16528,
    "h": 265.2
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#1A3B9E
secondary
#C5A74F
accent
#C139EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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