#1A2486#1A2486

#1A2486 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.160 H 269.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#1A2486
RGBrgb(26, 36, 134)
HSLhsl(234, 68%, 31%)
HSVhsv(234, 81%, 53%)
CMYKcmyk(80.6%, 73.1%, 0%, 47.5%)
CIE-LABlab(20.84, 32.95, -55.40)
CIE-LCHlch(20.84, 64.46, 300.74°)
OKLaboklab(33.11% -0.0007 -0.1605)
OKLCHoklch(33.11% 0.16 269.7)
XYZxyz(5.3585, 3.2020, 22.8853)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2486 #867C1A
analogous
#1A5A86 #1A2486 #461A86
triadic
#1A2486 #861A24 #24861A
tetradic
#1A2486 #861A5A #867C1A #1A8646
square
#1A2486 #861A5A #867C1A #1A8646
split-complementary
#1A2486 #86461A #5A861A
monochromatic
#06081F #101653 #1A2486 #2432B9 #404FDA

Accessibility & contrast

On white

12.80
#1A2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2486
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2486#FFFFFF#000000##FFFFFF
##1A24861.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2486;
/* rgb */ color: rgb(26, 36, 134);
/* oklch */ color: oklch(33.1% 0.160 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b5faa',
    500: '#1a2486',
    950: '#000000',
  },
}
SCSS
$custom: #1a2486;
$custom-light: #6b5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2486",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 234.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3311,
    "c": 0.16046,
    "h": 269.7
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#1A2486
secondary
#B9AE42
accent
#DA3DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2486

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

Preview Lab → · Contrast checker → · Palette generator →

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