#1A3E9E#1A3E9E

#1A3E9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.162 H 264.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#1A3E9E
RGBrgb(26, 62, 158)
HSLhsl(224, 72%, 36%)
HSVhsv(224, 84%, 62%)
CMYKcmyk(83.5%, 60.8%, 0%, 38%)
CIE-LABlab(29.74, 24.81, -55.59)
CIE-LCHlch(29.74, 60.88, 294.06°)
OKLaboklab(40.35% -0.0156 -0.1608)
OKLCHoklch(40.35% 0.162 264.4)
XYZxyz(8.3180, 6.1325, 33.0864)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E9E #9E7A1A
analogous
#1A809E #1A3E9E #381A9E
triadic
#1A3E9E #9E1A3E #3E9E1A
tetradic
#1A3E9E #9E1A80 #9E7A1A #1A9E38
square
#1A3E9E #9E1A80 #9E7A1A #1A9E38
split-complementary
#1A3E9E #9E381A #809E1A
monochromatic
#091535 #112969 #1A3E9E #2353D3 #5078E2

Accessibility & contrast

On white

9.43
#1A3E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1A3E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E9E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E9E#FFFFFF#000000##FFFFFF
##1A3E9E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a3e9e;
/* rgb */ color: rgb(26, 62, 158);
/* oklch */ color: oklch(40.4% 0.162 264.4);
Tailwind
colors: {
  custom: {
    50: '#6f72bb',
    500: '#1a3e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e9e;
$custom-light: #6f72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e9e",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 223.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40352,
    "c": 0.16156,
    "h": 264.4
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#1A3E9E
secondary
#C5A54F
accent
#BD39EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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