#1A2C86#1A2C86

#1A2C86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.151 H 268.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1A2C86
RGBrgb(26, 44, 134)
HSLhsl(230, 68%, 31%)
HSVhsv(230, 81%, 53%)
CMYKcmyk(80.6%, 67.2%, 0%, 47.5%)
CIE-LABlab(22.80, 27.65, -52.18)
CIE-LCHlch(22.80, 59.05, 297.92°)
OKLaboklab(34.54% -0.0049 -0.151)
OKLCHoklch(34.54% 0.151 268.1)
XYZxyz(5.6283, 3.7416, 22.9752)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C86 #86741A
analogous
#1A6286 #1A2C86 #3E1A86
triadic
#1A2C86 #861A2C #2C861A
tetradic
#1A2C86 #861A62 #86741A #1A863E
square
#1A2C86 #861A62 #86741A #1A863E
split-complementary
#1A2C86 #863E1A #62861A
monochromatic
#060A1F #101B53 #1A2C86 #243DB9 #405ADA

Accessibility & contrast

On white

12.01
#1A2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C86
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C86#FFFFFF#000000##FFFFFF
##1A2C861.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2c86;
/* rgb */ color: rgb(26, 44, 134);
/* oklch */ color: oklch(34.5% 0.151 268.1);
Tailwind
colors: {
  custom: {
    50: '#6a65aa',
    500: '#1a2c86',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c86;
$custom-light: #6a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c86",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 230,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34536,
    "c": 0.15109,
    "h": 268.1
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#1A2C86
secondary
#B9A642
accent
#CE3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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