#1A176D#1A176D

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

Color values

HEX#1A176D
RGBrgb(26, 23, 109)
HSLhsl(242, 65%, 26%)
HSVhsv(242, 79%, 43%)
CMYKcmyk(76.1%, 78.9%, 0%, 57.3%)
CIE-LABlab(15.15, 31.95, -48.79)
CIE-LCHlch(15.15, 58.32, 303.22°)
OKLaboklab(28.23% 0.0099 -0.1411)
OKLCHoklch(28.23% 0.141 274)
XYZxyz(3.4918, 1.9362, 14.6547)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A176D #6A6D17
analogous
#173F6D #1A176D #45176D
triadic
#1A176D #6D1A17 #176D1A
tetradic
#1A176D #6D173F #6A6D17 #176D45
square
#1A176D #6D173F #6A6D17 #176D45
split-complementary
#1A176D #6D4517 #3F6D17
monochromatic
#060519 #0E0C3A #1A176D #2622A0 #322CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A176D#FFFFFF#000000##FFFFFF
##1A176D1.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)
#002A6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a176d;
/* rgb */ color: rgb(26, 23, 109);
/* oklch */ color: oklch(28.2% 0.141 274.0);
Tailwind
colors: {
  custom: {
    50: '#665598',
    500: '#1a176d',
    950: '#000000',
  },
}
SCSS
$custom: #1a176d;
$custom-light: #665598;
$custom-dark: #000000;
JSON
{
  "hex": "#1a176d",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 242.093,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28225,
    "c": 0.14148,
    "h": 274
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#1A176D
secondary
#9FA33D
accent
#E840E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A176D

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

Preview Lab → · Contrast checker → · Palette generator →

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