#1A41A7#1A41A7

#1A41A7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.170 H 264.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#1A41A7
RGBrgb(26, 65, 167)
HSLhsl(223, 73%, 38%)
HSVhsv(223, 84%, 65%)
CMYKcmyk(84.4%, 61.1%, 0%, 34.5%)
CIE-LABlab(31.32, 26.34, -58.44)
CIE-LCHlch(31.32, 64.10, 294.26°)
OKLaboklab(41.77% -0.0171 -0.1691)
OKLCHoklch(41.77% 0.17 264.2)
XYZxyz(9.2889, 6.7891, 37.3726)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A41A7 #A7801A
analogous
#1A88A7 #1A41A7 #391AA7
triadic
#1A41A7 #A71A41 #41A71A
tetradic
#1A41A7 #A71A88 #A7801A #1AA739
square
#1A41A7 #A71A88 #A7801A #1AA739
split-complementary
#1A41A7 #A7391A #88A71A
monochromatic
#0A183D #122C72 #1A41A7 #2256DC #577EE5

Accessibility & contrast

On white

8.91
#1A41A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1A41A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A41A7
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A41A7#FFFFFF#000000##FFFFFF
##1A41A71.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a41a7;
/* rgb */ color: rgb(26, 65, 167);
/* oklch */ color: oklch(41.8% 0.170 264.2);
Tailwind
colors: {
  custom: {
    50: '#7175c2',
    500: '#1a41a7',
    950: '#000000',
  },
}
SCSS
$custom: #1a41a7;
$custom-light: #7175c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a41a7",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 223.404,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.16997,
    "h": 264.2
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#1A41A7
secondary
#C8A855
accent
#BD38F0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A41A7

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

Preview Lab → · Contrast checker → · Palette generator →

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