#1A2087#1A2087

#1A2087 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.166 H 270.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#1A2087
RGBrgb(26, 32, 135)
HSLhsl(237, 68%, 32%)
HSVhsv(237, 81%, 53%)
CMYKcmyk(80.7%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.05, 35.81, -57.33)
CIE-LCHlch(20.05, 67.59, 301.99°)
OKLaboklab(32.58% 0.0009 -0.166)
OKLCHoklch(32.58% 0.166 270.3)
XYZxyz(5.3142, 3.0013, 23.2162)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2087 #87811A
analogous
#1A5787 #1A2087 #4B1A87
triadic
#1A2087 #871A20 #20871A
tetradic
#1A2087 #871A57 #87811A #1A874B
square
#1A2087 #871A57 #87811A #1A874B
split-complementary
#1A2087 #874B1A #57871A
monochromatic
#060820 #101454 #1A2087 #242CBA #4149DA

Accessibility & contrast

On white

13.12
#1A2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2087
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2087#FFFFFF#000000##FFFFFF
##1A20871.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2087;
/* rgb */ color: rgb(26, 32, 135);
/* oklch */ color: oklch(32.6% 0.166 270.3);
Tailwind
colors: {
  custom: {
    50: '#6c5dab',
    500: '#1a2087',
    950: '#000000',
  },
}
SCSS
$custom: #1a2087;
$custom-light: #6c5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2087",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 236.697,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32581,
    "c": 0.16604,
    "h": 270.3
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#1A2087
secondary
#BAB442
accent
#E13DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2087

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

Preview Lab → · Contrast checker → · Palette generator →

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