#1A3186#1A3186

#1A3186 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.145 H 266.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#1A3186
RGBrgb(26, 49, 134)
HSLhsl(227, 68%, 31%)
HSVhsv(227, 81%, 53%)
CMYKcmyk(80.6%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.12, 24.22, -50.01)
CIE-LCHlch(24.12, 55.57, 295.84°)
OKLaboklab(35.51% -0.008 -0.1446)
OKLCHoklch(35.51% 0.145 266.8)
XYZxyz(5.8259, 4.1368, 23.0411)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3186 #866F1A
analogous
#1A6786 #1A3186 #391A86
triadic
#1A3186 #861A31 #31861A
tetradic
#1A3186 #861A67 #866F1A #1A8639
square
#1A3186 #861A67 #866F1A #1A8639
split-complementary
#1A3186 #86391A #67861A
monochromatic
#060C1F #101E53 #1A3186 #2444B9 #4061DA

Accessibility & contrast

On white

11.49
#1A3186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A3186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3186
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3186#FFFFFF#000000##FFFFFF
##1A31861.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3186;
/* rgb */ color: rgb(26, 49, 134);
/* oklch */ color: oklch(35.5% 0.145 266.8);
Tailwind
colors: {
  custom: {
    50: '#6a68aa',
    500: '#1a3186',
    950: '#000000',
  },
}
SCSS
$custom: #1a3186;
$custom-light: #6a68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3186",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 227.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3551,
    "c": 0.14485,
    "h": 266.8
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#1A3186
secondary
#B9A042
accent
#C63DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3186

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

Preview Lab → · Contrast checker → · Palette generator →

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