#1A2086#1A2086

#1A2086 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.165 H 270.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1A2086
RGBrgb(26, 32, 134)
HSLhsl(237, 68%, 31%)
HSVhsv(237, 81%, 53%)
CMYKcmyk(80.6%, 76.1%, 0%, 47.5%)
CIE-LABlab(19.94, 35.45, -56.89)
CIE-LCHlch(19.94, 67.03, 301.93°)
OKLaboklab(32.47% 0.001 -0.1648)
OKLCHoklch(32.47% 0.165 270.4)
XYZxyz(5.2441, 2.9733, 22.8471)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2086 #86801A
analogous
#1A5686 #1A2086 #4A1A86
triadic
#1A2086 #861A20 #20861A
tetradic
#1A2086 #861A56 #86801A #1A864A
square
#1A2086 #861A56 #86801A #1A864A
split-complementary
#1A2086 #864A1A #56861A
monochromatic
#06081F #101453 #1A2086 #242CB9 #4049DA

Accessibility & contrast

On white

13.17
#1A2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2086
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2086#FFFFFF#000000##FFFFFF
##1A20861.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2086;
/* rgb */ color: rgb(26, 32, 134);
/* oklch */ color: oklch(32.5% 0.165 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b5caa',
    500: '#1a2086',
    950: '#000000',
  },
}
SCSS
$custom: #1a2086;
$custom-light: #6b5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2086",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 236.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32467,
    "c": 0.16476,
    "h": 270.4
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#1A2086
secondary
#B9B342
accent
#E13DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2086

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

Preview Lab → · Contrast checker → · Palette generator →

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