#1A3C87#1A3C87

#1A3C87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.9% C 0.132 H 263.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#1A3C87
RGBrgb(26, 60, 135)
HSLhsl(221, 68%, 32%)
HSVhsv(221, 81%, 53%)
CMYKcmyk(80.7%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.30, 16.93, -45.46)
CIE-LCHlch(27.30, 48.51, 290.43°)
OKLaboklab(37.92% -0.0157 -0.1311)
OKLCHoklch(37.92% 0.132 263.2)
XYZxyz(6.4135, 5.1999, 23.5826)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C87 #87651A
analogous
#1A7387 #1A3C87 #2E1A87
triadic
#1A3C87 #871A3C #3C871A
tetradic
#1A3C87 #871A73 #87651A #1A872E
square
#1A3C87 #871A73 #87651A #1A872E
split-complementary
#1A3C87 #872E1A #73871A
monochromatic
#060E20 #102554 #1A3C87 #2453BA #4171DA

Accessibility & contrast

On white

10.29
#1A3C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1A3C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C87
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C87#FFFFFF#000000##FFFFFF
##1A3C871.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3c87;
/* rgb */ color: rgb(26, 60, 135);
/* oklch */ color: oklch(37.9% 0.132 263.2);
Tailwind
colors: {
  custom: {
    50: '#6971ab',
    500: '#1a3c87',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c87;
$custom-light: #6971ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c87",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 221.284,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.13201,
    "h": 263.2
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#1A3C87
secondary
#BA9542
accent
#B53DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3C87

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

Preview Lab → · Contrast checker → · Palette generator →

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