#1A2386#1A2386

#1A2386 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.162 H 269.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#1A2386
RGBrgb(26, 35, 134)
HSLhsl(235, 68%, 31%)
HSVhsv(235, 81%, 53%)
CMYKcmyk(80.6%, 73.9%, 0%, 47.5%)
CIE-LABlab(20.61, 33.58, -55.78)
CIE-LCHlch(20.61, 65.11, 301.05°)
OKLaboklab(32.95% -0.0003 -0.1616)
OKLCHoklch(32.95% 0.162 269.9)
XYZxyz(5.3286, 3.1423, 22.8753)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2386 #867D1A
analogous
#1A5986 #1A2386 #471A86
triadic
#1A2386 #861A23 #23861A
tetradic
#1A2386 #861A59 #867D1A #1A8647
square
#1A2386 #861A59 #867D1A #1A8647
split-complementary
#1A2386 #86471A #59861A
monochromatic
#06081F #101653 #1A2386 #2430B9 #404DDA

Accessibility & contrast

On white

12.89
#1A2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2386
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2386#FFFFFF#000000##FFFFFF
##1A23861.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2386;
/* rgb */ color: rgb(26, 35, 134);
/* oklch */ color: oklch(32.9% 0.162 269.9);
Tailwind
colors: {
  custom: {
    50: '#6b5eaa',
    500: '#1a2386',
    950: '#000000',
  },
}
SCSS
$custom: #1a2386;
$custom-light: #6b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2386",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 235,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32945,
    "c": 0.16156,
    "h": 269.9
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#1A2386
secondary
#B9AF42
accent
#DC3DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2386

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

Preview Lab → · Contrast checker → · Palette generator →

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