#1A176B#1A176B

#1A176B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.139 H 274.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#1A176B
RGBrgb(26, 23, 107)
HSLhsl(242, 65%, 25%)
HSVhsv(242, 79%, 42%)
CMYKcmyk(75.7%, 78.5%, 0%, 58%)
CIE-LABlab(14.92, 31.24, -47.86)
CIE-LCHlch(14.92, 57.16, 303.13°)
OKLaboklab(27.99% 0.0103 -0.1384)
OKLCHoklch(27.99% 0.139 274.3)
XYZxyz(3.3854, 1.8936, 14.0942)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A176B #686B17
analogous
#173E6B #1A176B #44176B
triadic
#1A176B #6B1A17 #176B1A
tetradic
#1A176B #6B173E #686B17 #176B44
square
#1A176B #6B173E #686B17 #176B44
split-complementary
#1A176B #6B4417 #3E6B17
monochromatic
#060519 #0E0C39 #1A176B #26229D #322DD0

Accessibility & contrast

On white

15.23
#1A176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A176B
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A176B#FFFFFF#000000##FFFFFF
##1A176B1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a176b;
/* rgb */ color: rgb(26, 23, 107);
/* oklch */ color: oklch(28.0% 0.139 274.3);
Tailwind
colors: {
  custom: {
    50: '#655596',
    500: '#1a176b',
    950: '#000000',
  },
}
SCSS
$custom: #1a176b;
$custom-light: #655596;
$custom-dark: #000000;
JSON
{
  "hex": "#1a176b",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 242.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27994,
    "c": 0.13882,
    "h": 274.3
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#1A176B
secondary
#9DA13D
accent
#E840E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1A176B

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

Preview Lab → · Contrast checker → · Palette generator →

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