#1A186A#1A186A

#1A186A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.136 H 274.2°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#1A186A
RGBrgb(26, 24, 106)
HSLhsl(241, 63%, 25%)
HSVhsv(241, 77%, 42%)
CMYKcmyk(75.5%, 77.4%, 0%, 58.4%)
CIE-LABlab(15.03, 30.26, -47.03)
CIE-LCHlch(15.03, 55.93, 302.76°)
OKLaboklab(28.04% 0.01 -0.136)
OKLCHoklch(28.04% 0.136 274.2)
XYZxyz(3.3533, 1.9132, 13.8254)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A186A #686A18
analogous
#183F6A #1A186A #43186A
triadic
#1A186A #6A1A18 #186A1A
tetradic
#1A186A #6A183F #686A18 #186A43
square
#1A186A #6A183F #686A18 #186A43
split-complementary
#1A186A #6A4318 #3F6A18
monochromatic
#060619 #0E0D38 #1A186A #26239C #322FCE

Accessibility & contrast

On white

15.19
#1A186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A186A
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A186A#FFFFFF#000000##FFFFFF
##1A186A1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a186a;
/* rgb */ color: rgb(26, 24, 106);
/* oklch */ color: oklch(28.0% 0.136 274.2);
Tailwind
colors: {
  custom: {
    50: '#655696',
    500: '#1a186a',
    950: '#000000',
  },
}
SCSS
$custom: #1a186a;
$custom-light: #655696;
$custom-dark: #000000;
JSON
{
  "hex": "#1a186a",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 241.463,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28036,
    "c": 0.13639,
    "h": 274.2
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#1A186A
secondary
#9DA03E
accent
#E642E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1A186A

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

Preview Lab → · Contrast checker → · Palette generator →

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