#1A3687#1A3687

#1A3687 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.140 H 265.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#1A3687
RGBrgb(26, 54, 135)
HSLhsl(225, 68%, 32%)
HSVhsv(225, 81%, 53%)
CMYKcmyk(80.7%, 60%, 0%, 47.1%)
CIE-LABlab(25.58, 21.13, -48.25)
CIE-LCHlch(25.58, 52.67, 293.65°)
OKLaboklab(36.63% -0.0113 -0.1394)
OKLCHoklch(36.63% 0.14 265.4)
XYZxyz(6.1168, 4.6065, 23.4837)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3687 #876B1A
analogous
#1A6D87 #1A3687 #351A87
triadic
#1A3687 #871A36 #36871A
tetradic
#1A3687 #871A6D #876B1A #1A8735
square
#1A3687 #871A6D #876B1A #1A8735
split-complementary
#1A3687 #87351A #6D871A
monochromatic
#060D20 #102154 #1A3687 #244BBA #4168DA

Accessibility & contrast

On white

10.93
#1A3687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1A3687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3687
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3687#FFFFFF#000000##FFFFFF
##1A36871.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3687;
/* rgb */ color: rgb(26, 54, 135);
/* oklch */ color: oklch(36.6% 0.140 265.4);
Tailwind
colors: {
  custom: {
    50: '#6a6cab',
    500: '#1a3687',
    950: '#000000',
  },
}
SCSS
$custom: #1a3687;
$custom-light: #6a6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3687",
  "rgb": {
    "r": 26,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 224.587,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.13983,
    "h": 265.4
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#1A3687
secondary
#BA9C42
accent
#BE3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3687

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

Preview Lab → · Contrast checker → · Palette generator →

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