#1A176C#1A176C

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

Color values

HEX#1A176C
RGBrgb(26, 23, 108)
HSLhsl(242, 65%, 26%)
HSVhsv(242, 79%, 42%)
CMYKcmyk(75.9%, 78.7%, 0%, 57.6%)
CIE-LABlab(15.03, 31.60, -48.33)
CIE-LCHlch(15.03, 57.74, 303.18°)
OKLaboklab(28.11% 0.0101 -0.1398)
OKLCHoklch(28.11% 0.14 274.1)
XYZxyz(3.4383, 1.9148, 14.3728)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A176C #696C17
analogous
#173E6C #1A176C #44176C
triadic
#1A176C #6C1A17 #176C1A
tetradic
#1A176C #6C173E #696C17 #176C44
square
#1A176C #6C173E #696C17 #176C44
split-complementary
#1A176C #6C4417 #3E6C17
monochromatic
#060519 #0E0C3A #1A176C #26229E #322CD1

Accessibility & contrast

On white

15.18
#1A176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A176C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A176C#FFFFFF#000000##FFFFFF
##1A176C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.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: #1a176c;
/* rgb */ color: rgb(26, 23, 108);
/* oklch */ color: oklch(28.1% 0.140 274.1);
Tailwind
colors: {
  custom: {
    50: '#655597',
    500: '#1a176c',
    950: '#000000',
  },
}
SCSS
$custom: #1a176c;
$custom-light: #655597;
$custom-dark: #000000;
JSON
{
  "hex": "#1a176c",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 242.118,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2811,
    "c": 0.14015,
    "h": 274.1
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A176C

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

Preview Lab → · Contrast checker → · Palette generator →

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