#1A3F87#1A3F87

#1A3F87 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.128 H 261.9°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#1A3F87
RGBrgb(26, 63, 135)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 53%)
CMYKcmyk(80.7%, 53.3%, 0%, 47.1%)
CIE-LABlab(28.18, 14.84, -44.03)
CIE-LCHlch(28.18, 46.47, 288.62°)
OKLaboklab(38.59% -0.018 -0.1268)
OKLCHoklch(38.59% 0.128 261.9)
XYZxyz(6.5751, 5.5231, 23.6365)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F87 #87621A
analogous
#1A7687 #1A3F87 #2C1A87
triadic
#1A3F87 #871A3F #3F871A
tetradic
#1A3F87 #871A76 #87621A #1A872C
square
#1A3F87 #871A76 #87621A #1A872C
split-complementary
#1A3F87 #872C1A #76871A
monochromatic
#060F20 #102754 #1A3F87 #2457BA #4175DA

Accessibility & contrast

On white

9.98
#1A3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1A3F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F87
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F87#FFFFFF#000000##FFFFFF
##1A3F871.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3f87;
/* rgb */ color: rgb(26, 63, 135);
/* oklch */ color: oklch(38.6% 0.128 261.9);
Tailwind
colors: {
  custom: {
    50: '#6973aa',
    500: '#1a3f87',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f87;
$custom-light: #6973aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f87",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 219.633,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38588,
    "c": 0.1281,
    "h": 261.9
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#1A3F87
secondary
#BA9242
accent
#B03DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3F87

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

Preview Lab → · Contrast checker → · Palette generator →

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