#1A2B87#1A2B87

#1A2B87 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.154 H 268.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1A2B87
RGBrgb(26, 43, 135)
HSLhsl(231, 68%, 32%)
HSVhsv(231, 81%, 53%)
CMYKcmyk(80.7%, 68.1%, 0%, 47.1%)
CIE-LABlab(22.64, 28.72, -53.06)
CIE-LCHlch(22.64, 60.33, 298.42°)
OKLaboklab(34.45% -0.0044 -0.1536)
OKLCHoklch(34.45% 0.154 268.4)
XYZxyz(5.6615, 3.6960, 23.3320)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B87 #87761A
analogous
#1A6287 #1A2B87 #401A87
triadic
#1A2B87 #871A2B #2B871A
tetradic
#1A2B87 #871A62 #87761A #1A8740
square
#1A2B87 #871A62 #87761A #1A8740
split-complementary
#1A2B87 #87401A #62871A
monochromatic
#060A20 #101B54 #1A2B87 #243BBA #4159DA

Accessibility & contrast

On white

12.07
#1A2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B87
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B87#FFFFFF#000000##FFFFFF
##1A2B871.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003185
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2b87;
/* rgb */ color: rgb(26, 43, 135);
/* oklch */ color: oklch(34.4% 0.154 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b64ab',
    500: '#1a2b87',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b87;
$custom-light: #6b64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b87",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 230.642,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3445,
    "c": 0.15367,
    "h": 268.4
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#1A2B87
secondary
#BAA842
accent
#D03DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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