#1A3AA1#1A3AA1

#1A3AA1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.171 H 265.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1A3AA1
RGBrgb(26, 58, 161)
HSLhsl(226, 72%, 37%)
HSVhsv(226, 84%, 63%)
CMYKcmyk(83.9%, 64%, 0%, 36.9%)
CIE-LABlab(28.95, 28.71, -58.71)
CIE-LCHlch(28.95, 65.35, 296.06°)
OKLaboklab(39.84% -0.0133 -0.17)
OKLCHoklch(39.84% 0.171 265.5)
XYZxyz(8.3698, 5.8179, 34.3931)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3AA1 #A1811A
analogous
#1A7EA1 #1A3AA1 #3E1AA1
triadic
#1A3AA1 #A11A3A #3AA11A
tetradic
#1A3AA1 #A11A7E #A1811A #1AA13E
square
#1A3AA1 #A11A7E #A1811A #1AA13E
split-complementary
#1A3AA1 #A13E1A #7EA11A
monochromatic
#091438 #11276C #1A3AA1 #234DD6 #5275E3

Accessibility & contrast

On white

9.71
#1A3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A3AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3AA1
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3AA1#FFFFFF#000000##FFFFFF
##1A3AA11.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3aa1;
/* rgb */ color: rgb(26, 58, 161);
/* oklch */ color: oklch(39.8% 0.171 265.5);
Tailwind
colors: {
  custom: {
    50: '#706fbe',
    500: '#1a3aa1',
    950: '#000000',
  },
}
SCSS
$custom: #1a3aa1;
$custom-light: #706fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3aa1",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 225.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.17051,
    "h": 265.5
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#1A3AA1
secondary
#C6AA51
accent
#C439EF
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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