#1A186B#1A186B

#1A186B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.138 H 274.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#1A186B
RGBrgb(26, 24, 107)
HSLhsl(241, 63%, 26%)
HSVhsv(241, 78%, 42%)
CMYKcmyk(75.7%, 77.6%, 0%, 58%)
CIE-LABlab(15.14, 30.62, -47.50)
CIE-LCHlch(15.14, 56.52, 302.81°)
OKLaboklab(28.15% 0.0098 -0.1374)
OKLCHoklch(28.15% 0.138 274.1)
XYZxyz(3.4056, 1.9341, 14.1009)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A186B #696B18
analogous
#183F6B #1A186B #43186B
triadic
#1A186B #6B1A18 #186B1A
tetradic
#1A186B #6B183F #696B18 #186B43
square
#1A186B #6B183F #696B18 #186B43
split-complementary
#1A186B #6B4318 #3F6B18
monochromatic
#060619 #0E0D39 #1A186B #26239D #322ECF

Accessibility & contrast

On white

15.14
#1A186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A186B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A186B#FFFFFF#000000##FFFFFF
##1A186B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a186b;
/* rgb */ color: rgb(26, 24, 107);
/* oklch */ color: oklch(28.1% 0.138 274.1);
Tailwind
colors: {
  custom: {
    50: '#655696',
    500: '#1a186b',
    950: '#000000',
  },
}
SCSS
$custom: #1a186b;
$custom-light: #655696;
$custom-dark: #000000;
JSON
{
  "hex": "#1a186b",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 241.446,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28149,
    "c": 0.13774,
    "h": 274.1
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#1A186B
secondary
#9EA13E
accent
#E641E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1A186B

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

Preview Lab → · Contrast checker → · Palette generator →

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