#1A176A#1A176A

#1A176A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.137 H 274.4°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#1A176A
RGBrgb(26, 23, 106)
HSLhsl(242, 64%, 25%)
HSVhsv(242, 78%, 42%)
CMYKcmyk(75.5%, 78.3%, 0%, 58.4%)
CIE-LABlab(14.80, 30.88, -47.40)
CIE-LCHlch(14.80, 56.57, 303.09°)
OKLaboklab(27.88% 0.0105 -0.1371)
OKLCHoklch(27.88% 0.137 274.4)
XYZxyz(3.3331, 1.8727, 13.8187)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A176A #676A17
analogous
#173D6A #1A176A #44176A
triadic
#1A176A #6A1A17 #176A1A
tetradic
#1A176A #6A173D #676A17 #176A44
square
#1A176A #6A173D #676A17 #176A44
split-complementary
#1A176A #6A4417 #3D6A17
monochromatic
#060519 #0E0C38 #1A176A #26229C #332DCF

Accessibility & contrast

On white

15.28
#1A176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A176A
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A176A#FFFFFF#000000##FFFFFF
##1A176A1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a176a;
/* rgb */ color: rgb(26, 23, 106);
/* oklch */ color: oklch(27.9% 0.137 274.4);
Tailwind
colors: {
  custom: {
    50: '#655596',
    500: '#1a176a',
    950: '#000000',
  },
}
SCSS
$custom: #1a176a;
$custom-light: #655596;
$custom-dark: #000000;
JSON
{
  "hex": "#1a176a",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 242.169,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27879,
    "c": 0.13748,
    "h": 274.4
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#1A176A
secondary
#9DA03D
accent
#E740E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1A176A

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

Preview Lab → · Contrast checker → · Palette generator →

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