#1A41A1#1A41A1

#1A41A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.162 H 263.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#1A41A1
RGBrgb(26, 65, 161)
HSLhsl(223, 72%, 37%)
HSVhsv(223, 84%, 63%)
CMYKcmyk(83.9%, 59.6%, 0%, 36.9%)
CIE-LABlab(30.81, 23.96, -55.66)
CIE-LCHlch(30.81, 60.60, 293.29°)
OKLaboklab(41.23% -0.0173 -0.161)
OKLCHoklch(41.23% 0.162 263.9)
XYZxyz(8.7470, 6.5723, 34.5189)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A41A1 #A17A1A
analogous
#1A85A1 #1A41A1 #371AA1
triadic
#1A41A1 #A11A41 #41A11A
tetradic
#1A41A1 #A11A85 #A17A1A #1AA137
square
#1A41A1 #A11A85 #A17A1A #1AA137
split-complementary
#1A41A1 #A1371A #85A11A
monochromatic
#091638 #112C6C #1A41A1 #2356D6 #527CE3

Accessibility & contrast

On white

9.07
#1A41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1A41A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A41A1
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A41A1#FFFFFF#000000##FFFFFF
##1A41A11.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a41a1;
/* rgb */ color: rgb(26, 65, 161);
/* oklch */ color: oklch(41.2% 0.162 263.9);
Tailwind
colors: {
  custom: {
    50: '#7075be',
    500: '#1a41a1',
    950: '#000000',
  },
}
SCSS
$custom: #1a41a1;
$custom-light: #7075be;
$custom-dark: #000000;
JSON
{
  "hex": "#1a41a1",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 222.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.16189,
    "h": 263.9
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#1A41A1
secondary
#C6A451
accent
#BA39EF
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A41A1

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

Preview Lab → · Contrast checker → · Palette generator →

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