#1A186F#1A186F

#1A186F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.143 H 273.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1A186F
RGBrgb(26, 24, 111)
HSLhsl(241, 64%, 26%)
HSVhsv(241, 78%, 44%)
CMYKcmyk(76.6%, 78.4%, 0%, 56.5%)
CIE-LABlab(15.59, 32.06, -49.36)
CIE-LCHlch(15.59, 58.86, 303.01°)
OKLaboklab(28.61% 0.0089 -0.1428)
OKLCHoklch(28.61% 0.143 273.6)
XYZxyz(3.6209, 2.0202, 15.2350)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A186F #6D6F18
analogous
#18426F #1A186F #46186F
triadic
#1A186F #6F1A18 #186F1A
tetradic
#1A186F #6F1842 #6D6F18 #186F46
square
#1A186F #6F1842 #6D6F18 #186F46
split-complementary
#1A186F #6F4618 #426F18
monochromatic
#060519 #0E0D3D #1A186F #2623A1 #332FD2

Accessibility & contrast

On white

14.96
#1A186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A186F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A186F#FFFFFF#000000##FFFFFF
##1A186F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a186f;
/* rgb */ color: rgb(26, 24, 111);
/* oklch */ color: oklch(28.6% 0.143 273.6);
Tailwind
colors: {
  custom: {
    50: '#665699',
    500: '#1a186f',
    950: '#000000',
  },
}
SCSS
$custom: #1a186f;
$custom-light: #665699;
$custom-dark: #000000;
JSON
{
  "hex": "#1a186f",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 241.379,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28608,
    "c": 0.14308,
    "h": 273.6
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#1A186F
secondary
#A2A53E
accent
#E740E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A186F

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

Preview Lab → · Contrast checker → · Palette generator →

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