#1A176F#1A176F

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

Color values

HEX#1A176F
RGBrgb(26, 23, 111)
HSLhsl(242, 66%, 26%)
HSVhsv(242, 79%, 44%)
CMYKcmyk(76.6%, 79.3%, 0%, 56.5%)
CIE-LABlab(15.38, 32.67, -49.71)
CIE-LCHlch(15.38, 59.48, 303.31°)
OKLaboklab(28.46% 0.0094 -0.1438)
OKLCHoklch(28.46% 0.144 273.8)
XYZxyz(3.6007, 1.9797, 15.2282)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A176F #6C6F17
analogous
#17406F #1A176F #46176F
triadic
#1A176F #6F1A17 #176F1A
tetradic
#1A176F #6F1740 #6C6F17 #176F46
square
#1A176F #6F1740 #6C6F17 #176F46
split-complementary
#1A176F #6F4617 #406F17
monochromatic
#060519 #0E0C3C #1A176F #2622A2 #332DD3

Accessibility & contrast

On white

15.04
#1A176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A176F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A176F#FFFFFF#000000##FFFFFF
##1A176F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a176f;
/* rgb */ color: rgb(26, 23, 111);
/* oklch */ color: oklch(28.5% 0.144 273.8);
Tailwind
colors: {
  custom: {
    50: '#665599',
    500: '#1a176f',
    950: '#000000',
  },
}
SCSS
$custom: #1a176f;
$custom-light: #665599;
$custom-dark: #000000;
JSON
{
  "hex": "#1a176f",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 242.045,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.14412,
    "h": 273.8
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#1A176F
secondary
#A1A53D
accent
#E93FE3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A176F

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

Preview Lab → · Contrast checker → · Palette generator →

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