#1A177A#1A177A

#1A177A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.158 H 272.5°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#1A177A
RGBrgb(26, 23, 122)
HSLhsl(242, 68%, 28%)
HSVhsv(242, 81%, 48%)
CMYKcmyk(78.7%, 81.1%, 0%, 52.2%)
CIE-LABlab(16.69, 36.50, -54.65)
CIE-LCHlch(16.69, 65.72, 303.74°)
OKLaboklab(29.76% 0.0069 -0.1582)
OKLCHoklch(29.76% 0.158 272.5)
XYZxyz(4.2441, 2.2371, 18.6167)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A177A #777A17
analogous
#17457A #1A177A #4B177A
triadic
#1A177A #7A1A17 #177A1A
tetradic
#1A177A #7A1745 #777A17 #177A4B
square
#1A177A #7A1745 #777A17 #177A4B
split-complementary
#1A177A #7A4B17 #457A17
monochromatic
#05051A #0F0D47 #1A177A #2521AD #3833D9

Accessibility & contrast

On white

14.51
#1A177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1A177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A177A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A177A#FFFFFF#000000##FFFFFF
##1A177A1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a177a;
/* rgb */ color: rgb(26, 23, 122);
/* oklch */ color: oklch(29.8% 0.158 272.5);
Tailwind
colors: {
  custom: {
    50: '#6956a2',
    500: '#1a177a',
    950: '#000000',
  },
}
SCSS
$custom: #1a177a;
$custom-light: #6956a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a177a",
  "rgb": {
    "r": 26,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 241.818,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29759,
    "c": 0.15832,
    "h": 272.5
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#1A177A
secondary
#ACAF3E
accent
#EB3DE6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1A177A

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

Preview Lab → · Contrast checker → · Palette generator →

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