#1A2687#1A2687

#1A2687 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.160 H 269.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1A2687
RGBrgb(26, 38, 135)
HSLhsl(233, 68%, 32%)
HSVhsv(233, 81%, 53%)
CMYKcmyk(80.7%, 71.9%, 0%, 47.1%)
CIE-LABlab(21.41, 32.03, -55.08)
CIE-LCHlch(21.41, 63.72, 300.18°)
OKLaboklab(33.56% -0.0018 -0.1595)
OKLCHoklch(33.56% 0.16 269.4)
XYZxyz(5.4908, 3.3545, 23.2751)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2687 #877B1A
analogous
#1A5D87 #1A2687 #441A87
triadic
#1A2687 #871A26 #26871A
tetradic
#1A2687 #871A5D #877B1A #1A8744
square
#1A2687 #871A5D #877B1A #1A8744
split-complementary
#1A2687 #87441A #5D871A
monochromatic
#060920 #101854 #1A2687 #2434BA #4152DA

Accessibility & contrast

On white

12.57
#1A2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2687
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2687#FFFFFF#000000##FFFFFF
##1A26871.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2687;
/* rgb */ color: rgb(26, 38, 135);
/* oklch */ color: oklch(33.6% 0.160 269.4);
Tailwind
colors: {
  custom: {
    50: '#6b61ab',
    500: '#1a2687',
    950: '#000000',
  },
}
SCSS
$custom: #1a2687;
$custom-light: #6b61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2687",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 233.394,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33557,
    "c": 0.15953,
    "h": 269.4
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#1A2687
secondary
#BAAD42
accent
#D73DEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A2687

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

Preview Lab → · Contrast checker → · Palette generator →

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