#1A4081#1A4081

#1A4081 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.118 H 260.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1A4081
RGBrgb(26, 64, 129)
HSLhsl(218, 66%, 30%)
HSVhsv(218, 80%, 51%)
CMYKcmyk(79.8%, 50.4%, 0%, 49.4%)
CIE-LABlab(28.04, 11.69, -40.53)
CIE-LCHlch(28.04, 42.18, 286.08°)
OKLaboklab(38.34% -0.0197 -0.1165)
OKLCHoklch(38.34% 0.118 260.4)
XYZxyz(6.2204, 5.4707, 21.4927)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4081 #815B1A
analogous
#1A7381 #1A4081 #271A81
triadic
#1A4081 #811A40 #40811A
tetradic
#1A4081 #811A73 #815B1A #1A8127
square
#1A4081 #811A73 #815B1A #1A8127
split-complementary
#1A4081 #81271A #73811A
monochromatic
#050D1B #10274E #1A4081 #2459B4 #3D76D8

Accessibility & contrast

On white

10.03
#1A4081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1A4081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4081
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4081#FFFFFF#000000##FFFFFF
##1A40811.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a4081;
/* rgb */ color: rgb(26, 64, 129);
/* oklch */ color: oklch(38.3% 0.118 260.4);
Tailwind
colors: {
  custom: {
    50: '#6774a6',
    500: '#1a4081',
    950: '#000000',
  },
}
SCSS
$custom: #1a4081;
$custom-light: #6774a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4081",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 217.864,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38341,
    "c": 0.11813,
    "h": 260.4
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#1A4081
secondary
#B58A42
accent
#AA3EE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4081

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

Preview Lab → · Contrast checker → · Palette generator →

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