#1A179E#1A179E

#1A179E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.2% C 0.202 H 269.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1A179E
RGBrgb(26, 23, 158)
HSLhsl(241, 75%, 35%)
HSVhsv(241, 85%, 62%)
CMYKcmyk(83.5%, 85.4%, 0%, 38%)
CIE-LABlab(21.21, 48.22, -69.67)
CIE-LCHlch(21.21, 84.73, 304.69°)
OKLaboklab(34.2% -0.0014 -0.2016)
OKLCHoklch(34.2% 0.202 269.6)
XYZxyz(6.9019, 3.3002, 32.6144)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A179E #9B9E17
analogous
#17589E #1A179E #5D179E
triadic
#1A179E #9E1A17 #179E1A
tetradic
#1A179E #9E1758 #9B9E17 #179E5D
square
#1A179E #9E1758 #9B9E17 #179E5D
split-complementary
#1A179E #9E5D17 #589E17
monochromatic
#080733 #110F69 #1A179E #231FD3 #4E4BE5

Accessibility & contrast

On white

12.65
#1A179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A179E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A179E#FFFFFF#000000##FFFFFF
##1A179E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a179e;
/* rgb */ color: rgb(26, 23, 158);
/* oklch */ color: oklch(34.2% 0.202 269.6);
Tailwind
colors: {
  custom: {
    50: '#7359bc',
    500: '#1a179e',
    950: '#000000',
  },
}
SCSS
$custom: #1a179e;
$custom-light: #7359bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a179e",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 241.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.20163,
    "h": 269.6
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#1A179E
secondary
#C4C64A
accent
#F137ED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A179E

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

Preview Lab → · Contrast checker → · Palette generator →

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