#1A2986#1A2986

#1A2986 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.155 H 268.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#1A2986
RGBrgb(26, 41, 134)
HSLhsl(232, 68%, 31%)
HSVhsv(232, 81%, 53%)
CMYKcmyk(80.6%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.04, 29.68, -53.42)
CIE-LCHlch(22.04, 61.11, 299.05°)
OKLaboklab(33.98% -0.0032 -0.1547)
OKLCHoklch(33.98% 0.155 268.8)
XYZxyz(5.5205, 3.5261, 22.9393)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2986 #86771A
analogous
#1A5F86 #1A2986 #411A86
triadic
#1A2986 #861A29 #29861A
tetradic
#1A2986 #861A5F #86771A #1A8641
square
#1A2986 #861A5F #86771A #1A8641
split-complementary
#1A2986 #86411A #5F861A
monochromatic
#060A1F #101953 #1A2986 #2439B9 #4056DA

Accessibility & contrast

On white

12.31
#1A2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2986
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2986#FFFFFF#000000##FFFFFF
##1A29861.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2986;
/* rgb */ color: rgb(26, 41, 134);
/* oklch */ color: oklch(34.0% 0.155 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b63aa',
    500: '#1a2986',
    950: '#000000',
  },
}
SCSS
$custom: #1a2986;
$custom-light: #6b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2986",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 231.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33981,
    "c": 0.15471,
    "h": 268.8
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#1A2986
secondary
#B9A942
accent
#D23DEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2986

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

Preview Lab → · Contrast checker → · Palette generator →

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