#1A3786#1A3786

#1A3786 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.137 H 265.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#1A3786
RGBrgb(26, 55, 134)
HSLhsl(224, 68%, 31%)
HSVhsv(224, 81%, 53%)
CMYKcmyk(80.6%, 59%, 0%, 47.5%)
CIE-LABlab(25.78, 20.03, -47.30)
CIE-LCHlch(25.78, 51.37, 292.95°)
OKLaboklab(36.75% -0.012 -0.1366)
OKLCHoklch(36.75% 0.137 265)
XYZxyz(6.0937, 4.6725, 23.1304)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3786 #86691A
analogous
#1A6D86 #1A3786 #331A86
triadic
#1A3786 #861A37 #37861A
tetradic
#1A3786 #861A6D #86691A #1A8633
square
#1A3786 #861A6D #86691A #1A8633
split-complementary
#1A3786 #86331A #6D861A
monochromatic
#060D1F #102253 #1A3786 #244CB9 #406ADA

Accessibility & contrast

On white

10.85
#1A3786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1A3786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3786
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3786#FFFFFF#000000##FFFFFF
##1A37861.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3786;
/* rgb */ color: rgb(26, 55, 134);
/* oklch */ color: oklch(36.8% 0.137 265.0);
Tailwind
colors: {
  custom: {
    50: '#696daa',
    500: '#1a3786',
    950: '#000000',
  },
}
SCSS
$custom: #1a3786;
$custom-light: #696daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3786",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 223.889,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.13711,
    "h": 265
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#1A3786
secondary
#B99942
accent
#BC3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3786

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

Preview Lab → · Contrast checker → · Palette generator →

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