#1A4381#1A4381

#1A4381 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.114 H 258.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1A4381
RGBrgb(26, 67, 129)
HSLhsl(216, 66%, 30%)
HSVhsv(216, 80%, 51%)
CMYKcmyk(79.8%, 48.1%, 0%, 49.4%)
CIE-LABlab(28.95, 9.61, -39.06)
CIE-LCHlch(28.95, 40.22, 283.82°)
OKLaboklab(39.04% -0.0223 -0.1121)
OKLCHoklch(39.04% 0.114 258.8)
XYZxyz(6.3942, 5.8182, 21.5506)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4381 #81581A
analogous
#1A7681 #1A4381 #251A81
triadic
#1A4381 #811A43 #43811A
tetradic
#1A4381 #811A76 #81581A #1A8125
square
#1A4381 #811A76 #81581A #1A8125
split-complementary
#1A4381 #81251A #76811A
monochromatic
#050E1B #10294E #1A4381 #245DB4 #3D7BD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A4381#FFFFFF#000000##FFFFFF
##1A43811.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)
#224983
Deuteranopia (green-blind)
#074080
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4381;
/* rgb */ color: rgb(26, 67, 129);
/* oklch */ color: oklch(39.0% 0.114 258.8);
Tailwind
colors: {
  custom: {
    50: '#6776a6',
    500: '#1a4381',
    950: '#000000',
  },
}
SCSS
$custom: #1a4381;
$custom-light: #6776a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4381",
  "rgb": {
    "r": 26,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 216.117,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.11428,
    "h": 258.8
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#1A4381
secondary
#B58742
accent
#A53EE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4381

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

Preview Lab → · Contrast checker → · Palette generator →

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