#1A3C81#1A3C81

#1A3C81 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.123 H 262.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1A3C81
RGBrgb(26, 60, 129)
HSLhsl(220, 66%, 30%)
HSVhsv(220, 80%, 51%)
CMYKcmyk(79.8%, 53.5%, 0%, 49.4%)
CIE-LABlab(26.84, 14.48, -42.46)
CIE-LCHlch(26.84, 44.87, 288.83°)
OKLaboklab(37.42% -0.0163 -0.1223)
OKLCHoklch(37.42% 0.123 262.4)
XYZxyz(6.0029, 5.0356, 21.4202)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C81 #815F1A
analogous
#1A6F81 #1A3C81 #2B1A81
triadic
#1A3C81 #811A3C #3C811A
tetradic
#1A3C81 #811A6F #815F1A #1A812B
square
#1A3C81 #811A6F #815F1A #1A812B
split-complementary
#1A3C81 #812B1A #6F811A
monochromatic
#050D1B #10244E #1A3C81 #2454B4 #3D70D8

Accessibility & contrast

On white

10.46
#1A3C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A3C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C81
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C81#FFFFFF#000000##FFFFFF
##1A3C811.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3c81;
/* rgb */ color: rgb(26, 60, 129);
/* oklch */ color: oklch(37.4% 0.123 262.4);
Tailwind
colors: {
  custom: {
    50: '#6871a6',
    500: '#1a3c81',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c81;
$custom-light: #6871a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c81",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 220.194,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37424,
    "c": 0.12335,
    "h": 262.4
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#1A3C81
secondary
#B58F42
accent
#B13EE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3C81

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

Preview Lab → · Contrast checker → · Palette generator →

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