#1A46A7#1A46A7

#1A46A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.164 H 263.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1A46A7
RGBrgb(26, 70, 167)
HSLhsl(221, 73%, 38%)
HSVhsv(221, 84%, 65%)
CMYKcmyk(84.4%, 58.1%, 0%, 34.5%)
CIE-LABlab(32.68, 22.95, -56.23)
CIE-LCHlch(32.68, 60.74, 292.20°)
OKLaboklab(42.78% -0.02 -0.1625)
OKLCHoklch(42.78% 0.164 263)
XYZxyz(9.5887, 7.3888, 37.4725)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A46A7 #A77B1A
analogous
#1A8CA7 #1A46A7 #351AA7
triadic
#1A46A7 #A71A46 #46A71A
tetradic
#1A46A7 #A71A8C #A77B1A #1AA735
square
#1A46A7 #A71A8C #A77B1A #1AA735
split-complementary
#1A46A7 #A7351A #8CA71A
monochromatic
#0A1A3D #123072 #1A46A7 #225CDC #5783E5

Accessibility & contrast

On white

8.47
#1A46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1A46A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A46A7
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A46A7#FFFFFF#000000##FFFFFF
##1A46A71.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a46a7;
/* rgb */ color: rgb(26, 70, 167);
/* oklch */ color: oklch(42.8% 0.164 263.0);
Tailwind
colors: {
  custom: {
    50: '#7178c2',
    500: '#1a46a7',
    950: '#000000',
  },
}
SCSS
$custom: #1a46a7;
$custom-light: #7178c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a46a7",
  "rgb": {
    "r": 26,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 221.277,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.16378,
    "h": 263
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#1A46A7
secondary
#C8A455
accent
#B638F0
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1A46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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