#1A186C#1A186C

#1A186C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.139 H 273.9°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#1A186C
RGBrgb(26, 24, 108)
HSLhsl(241, 64%, 26%)
HSVhsv(241, 78%, 42%)
CMYKcmyk(75.9%, 77.8%, 0%, 57.6%)
CIE-LABlab(15.25, 30.99, -47.97)
CIE-LCHlch(15.25, 57.11, 302.86°)
OKLaboklab(28.26% 0.0096 -0.1388)
OKLCHoklch(28.26% 0.139 273.9)
XYZxyz(3.4585, 1.9552, 14.3796)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A186C #6A6C18
analogous
#18406C #1A186C #44186C
triadic
#1A186C #6C1A18 #186C1A
tetradic
#1A186C #6C1840 #6A6C18 #186C44
square
#1A186C #6C1840 #6A6C18 #186C44
split-complementary
#1A186C #6C4418 #406C18
monochromatic
#060619 #0E0D3A #1A186C #26239E #322ED0

Accessibility & contrast

On white

15.09
#1A186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A186C
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A186C#FFFFFF#000000##FFFFFF
##1A186C1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a186c;
/* rgb */ color: rgb(26, 24, 108);
/* oklch */ color: oklch(28.3% 0.139 273.9);
Tailwind
colors: {
  custom: {
    50: '#655697',
    500: '#1a186c',
    950: '#000000',
  },
}
SCSS
$custom: #1a186c;
$custom-light: #655697;
$custom-dark: #000000;
JSON
{
  "hex": "#1a186c",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 241.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28263,
    "c": 0.13908,
    "h": 273.9
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#1A186C
secondary
#9FA23E
accent
#E741E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A186C

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

Preview Lab → · Contrast checker → · Palette generator →

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