#1A2B86#1A2B86

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

Color values

HEX#1A2B86
RGBrgb(26, 43, 134)
HSLhsl(231, 68%, 31%)
HSVhsv(231, 81%, 53%)
CMYKcmyk(80.6%, 67.9%, 0%, 47.5%)
CIE-LABlab(22.54, 28.33, -52.60)
CIE-LCHlch(22.54, 59.74, 298.31°)
OKLaboklab(34.35% -0.0043 -0.1522)
OKLCHoklch(34.35% 0.152 268.4)
XYZxyz(5.5915, 3.6680, 22.9629)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B86 #86751A
analogous
#1A6186 #1A2B86 #3F1A86
triadic
#1A2B86 #861A2B #2B861A
tetradic
#1A2B86 #861A61 #86751A #1A863F
square
#1A2B86 #861A61 #86751A #1A863F
split-complementary
#1A2B86 #863F1A #61861A
monochromatic
#060A1F #101B53 #1A2B86 #243BB9 #4059DA

Accessibility & contrast

On white

12.11
#1A2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B86
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B86#FFFFFF#000000##FFFFFF
##1A2B861.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2b86;
/* rgb */ color: rgb(26, 43, 134);
/* oklch */ color: oklch(34.3% 0.152 268.4);
Tailwind
colors: {
  custom: {
    50: '#6a64aa',
    500: '#1a2b86',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b86;
$custom-light: #6a64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b86",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 230.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34349,
    "c": 0.15231,
    "h": 268.4
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#1A2B86
secondary
#B9A742
accent
#CF3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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