#1A3F86#1A3F86

#1A3F86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.127 H 261.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#1A3F86
RGBrgb(26, 63, 134)
HSLhsl(219, 68%, 31%)
HSVhsv(219, 81%, 53%)
CMYKcmyk(80.6%, 53%, 0%, 47.5%)
CIE-LABlab(28.10, 14.43, -43.53)
CIE-LCHlch(28.10, 45.86, 288.34°)
OKLaboklab(38.51% -0.0181 -0.1253)
OKLCHoklch(38.51% 0.127 261.8)
XYZxyz(6.5050, 5.4951, 23.2675)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F86 #86611A
analogous
#1A7586 #1A3F86 #2B1A86
triadic
#1A3F86 #861A3F #3F861A
tetradic
#1A3F86 #861A75 #86611A #1A862B
square
#1A3F86 #861A75 #86611A #1A862B
split-complementary
#1A3F86 #862B1A #75861A
monochromatic
#060F1F #102753 #1A3F86 #2457B9 #4075DA

Accessibility & contrast

On white

10.00
#1A3F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3F86
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F86#FFFFFF#000000##FFFFFF
##1A3F861.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3f86;
/* rgb */ color: rgb(26, 63, 134);
/* oklch */ color: oklch(38.5% 0.127 261.8);
Tailwind
colors: {
  custom: {
    50: '#6973aa',
    500: '#1a3f86',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f86;
$custom-light: #6973aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f86",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 219.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.12666,
    "h": 261.8
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#1A3F86
secondary
#B99142
accent
#AF3DEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A3F86

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

Preview Lab → · Contrast checker → · Palette generator →

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