#1A4182#1A4182

#1A4182 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.118 H 260.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1A4182
RGBrgb(26, 65, 130)
HSLhsl(218, 67%, 31%)
HSVhsv(218, 80%, 51%)
CMYKcmyk(80%, 50%, 0%, 49%)
CIE-LABlab(28.41, 11.40, -40.55)
CIE-LCHlch(28.41, 42.12, 285.70°)
OKLaboklab(38.65% -0.0204 -0.1165)
OKLCHoklch(38.65% 0.118 260.1)
XYZxyz(6.3441, 5.6112, 21.8635)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4182 #825B1A
analogous
#1A7582 #1A4182 #271A82
triadic
#1A4182 #821A41 #41821A
tetradic
#1A4182 #821A75 #825B1A #1A8227
square
#1A4182 #821A75 #825B1A #1A8227
split-complementary
#1A4182 #82271A #75821A
monochromatic
#060E1C #10274F #1A4182 #245AB5 #3E78D8

Accessibility & contrast

On white

9.89
#1A4182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1A4182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4182
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4182#FFFFFF#000000##FFFFFF
##1A41821.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a4182;
/* rgb */ color: rgb(26, 65, 130);
/* oklch */ color: oklch(38.7% 0.118 260.1);
Tailwind
colors: {
  custom: {
    50: '#6875a7',
    500: '#1a4182',
    950: '#000000',
  },
}
SCSS
$custom: #1a4182;
$custom-light: #6875a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4182",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 217.5,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.11829,
    "h": 260.1
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#1A4182
secondary
#B68A42
accent
#A93EEA
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4182

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

Preview Lab → · Contrast checker → · Palette generator →

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