#1A2D86#1A2D86

#1A2D86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.150 H 267.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1A2D86
RGBrgb(26, 45, 134)
HSLhsl(229, 68%, 31%)
HSVhsv(229, 81%, 53%)
CMYKcmyk(80.6%, 66.4%, 0%, 47.5%)
CIE-LABlab(23.06, 26.97, -51.75)
CIE-LCHlch(23.06, 58.36, 297.53°)
OKLaboklab(34.73% -0.0055 -0.1498)
OKLCHoklch(34.73% 0.15 267.9)
XYZxyz(5.6660, 3.8170, 22.9878)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D86 #86731A
analogous
#1A6386 #1A2D86 #3D1A86
triadic
#1A2D86 #861A2D #2D861A
tetradic
#1A2D86 #861A63 #86731A #1A863D
square
#1A2D86 #861A63 #86731A #1A863D
split-complementary
#1A2D86 #863D1A #63861A
monochromatic
#060B1F #101C53 #1A2D86 #243EB9 #405BDA

Accessibility & contrast

On white

11.91
#1A2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D86
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D86#FFFFFF#000000##FFFFFF
##1A2D861.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2d86;
/* rgb */ color: rgb(26, 45, 134);
/* oklch */ color: oklch(34.7% 0.150 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a65aa',
    500: '#1a2d86',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d86;
$custom-light: #6a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d86",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 229.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.14986,
    "h": 267.9
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#1A2D86
secondary
#B9A442
accent
#CC3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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