#1A41A8#1A41A8

#1A41A8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.171 H 264.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1A41A8
RGBrgb(26, 65, 168)
HSLhsl(224, 73%, 38%)
HSVhsv(224, 85%, 66%)
CMYKcmyk(84.5%, 61.3%, 0%, 34.1%)
CIE-LABlab(31.41, 26.73, -58.90)
CIE-LCHlch(31.41, 64.68, 294.41°)
OKLaboklab(41.86% -0.0171 -0.1705)
OKLCHoklch(41.86% 0.171 264.3)
XYZxyz(9.3817, 6.8262, 37.8613)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A41A8 #A8811A
analogous
#1A88A8 #1A41A8 #3A1AA8
triadic
#1A41A8 #A81A41 #41A81A
tetradic
#1A41A8 #A81A88 #A8811A #1AA83A
square
#1A41A8 #A81A88 #A8811A #1AA83A
split-complementary
#1A41A8 #A83A1A #88A81A
monochromatic
#0A183E #122C73 #1A41A8 #2256DD #577EE5

Accessibility & contrast

On white

8.88
#1A41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1A41A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A41A8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A41A8#FFFFFF#000000##FFFFFF
##1A41A81.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a41a8;
/* rgb */ color: rgb(26, 65, 168);
/* oklch */ color: oklch(41.9% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#7275c3',
    500: '#1a41a8',
    950: '#000000',
  },
}
SCSS
$custom: #1a41a8;
$custom-light: #7275c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a41a8",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 223.521,
    "s": 73.196,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.17131,
    "h": 264.3
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#1A41A8
secondary
#C8A955
accent
#BD38F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1A41A8

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

Preview Lab → · Contrast checker → · Palette generator →

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