#1A2186#1A2186

#1A2186 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.164 H 270.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1A2186
RGBrgb(26, 33, 134)
HSLhsl(236, 68%, 31%)
HSVhsv(236, 81%, 53%)
CMYKcmyk(80.6%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.16, 34.84, -56.53)
CIE-LCHlch(20.16, 66.40, 301.64°)
OKLaboklab(32.62% 0.0006 -0.1637)
OKLCHoklch(32.62% 0.164 270.2)
XYZxyz(5.2715, 3.0280, 22.8563)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2186 #867F1A
analogous
#1A5786 #1A2186 #491A86
triadic
#1A2186 #861A21 #21861A
tetradic
#1A2186 #861A57 #867F1A #1A8649
square
#1A2186 #861A57 #867F1A #1A8649
split-complementary
#1A2186 #86491A #57861A
monochromatic
#06081F #101453 #1A2186 #242EB9 #404ADA

Accessibility & contrast

On white

13.08
#1A2186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2186
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2186#FFFFFF#000000##FFFFFF
##1A21861.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2186;
/* rgb */ color: rgb(26, 33, 134);
/* oklch */ color: oklch(32.6% 0.164 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b5daa',
    500: '#1a2186',
    950: '#000000',
  },
}
SCSS
$custom: #1a2186;
$custom-light: #6b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2186",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 236.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32623,
    "c": 0.16371,
    "h": 270.2
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#1A2186
secondary
#B9B242
accent
#DF3DEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2186

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

Preview Lab → · Contrast checker → · Palette generator →

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