#1A3E87#1A3E87

#1A3E87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.129 H 262.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1A3E87
RGBrgb(26, 62, 135)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 53%)
CMYKcmyk(80.7%, 54.1%, 0%, 47.1%)
CIE-LABlab(27.88, 15.54, -44.51)
CIE-LCHlch(27.88, 47.14, 289.24°)
OKLaboklab(38.36% -0.0172 -0.1282)
OKLCHoklch(38.36% 0.129 262.3)
XYZxyz(6.5202, 5.4134, 23.6182)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E87 #87631A
analogous
#1A7587 #1A3E87 #2C1A87
triadic
#1A3E87 #871A3E #3E871A
tetradic
#1A3E87 #871A75 #87631A #1A872C
square
#1A3E87 #871A75 #87631A #1A872C
split-complementary
#1A3E87 #872C1A #75871A
monochromatic
#060F20 #102654 #1A3E87 #2456BA #4174DA

Accessibility & contrast

On white

10.08
#1A3E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A3E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E87
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E87#FFFFFF#000000##FFFFFF
##1A3E871.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3e87;
/* rgb */ color: rgb(26, 62, 135);
/* oklch */ color: oklch(38.4% 0.129 262.3);
Tailwind
colors: {
  custom: {
    50: '#6972ab',
    500: '#1a3e87',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e87;
$custom-light: #6972ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e87",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 220.183,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38364,
    "c": 0.1294,
    "h": 262.3
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#1A3E87
secondary
#BA9342
accent
#B13DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3E87

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

Preview Lab → · Contrast checker → · Palette generator →

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