#1A186D#1A186D

#1A186D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.140 H 273.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#1A186D
RGBrgb(26, 24, 109)
HSLhsl(241, 64%, 26%)
HSVhsv(241, 78%, 43%)
CMYKcmyk(76.1%, 78%, 0%, 57.3%)
CIE-LABlab(15.36, 31.34, -48.43)
CIE-LCHlch(15.36, 57.69, 302.91°)
OKLaboklab(28.38% 0.0094 -0.1401)
OKLCHoklch(28.38% 0.14 273.8)
XYZxyz(3.5120, 1.9767, 14.6615)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A186D #6B6D18
analogous
#18406D #1A186D #44186D
triadic
#1A186D #6D1A18 #186D1A
tetradic
#1A186D #6D1840 #6B6D18 #186D44
square
#1A186D #6D1840 #6B6D18 #186D44
split-complementary
#1A186D #6D4418 #406D18
monochromatic
#060619 #0E0D3B #1A186D #26239F #322ED1

Accessibility & contrast

On white

15.05
#1A186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A186D
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A186D#FFFFFF#000000##FFFFFF
##1A186D1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a186d;
/* rgb */ color: rgb(26, 24, 109);
/* oklch */ color: oklch(28.4% 0.140 273.8);
Tailwind
colors: {
  custom: {
    50: '#665698',
    500: '#1a186d',
    950: '#000000',
  },
}
SCSS
$custom: #1a186d;
$custom-light: #665698;
$custom-dark: #000000;
JSON
{
  "hex": "#1a186d",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 241.412,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28378,
    "c": 0.14042,
    "h": 273.8
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#1A186D
secondary
#A0A33E
accent
#E741E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A186D

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

Preview Lab → · Contrast checker → · Palette generator →

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