#1A4282#1A4282

#1A4282 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.117 H 259.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1A4282
RGBrgb(26, 66, 130)
HSLhsl(217, 67%, 31%)
HSVhsv(217, 80%, 51%)
CMYKcmyk(80%, 49.2%, 0%, 49%)
CIE-LABlab(28.71, 10.71, -40.06)
CIE-LCHlch(28.71, 41.47, 284.97°)
OKLaboklab(38.88% -0.0212 -0.1151)
OKLCHoklch(38.88% 0.117 259.5)
XYZxyz(6.4020, 5.7270, 21.8828)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4282 #825A1A
analogous
#1A7682 #1A4282 #261A82
triadic
#1A4282 #821A42 #42821A
tetradic
#1A4282 #821A76 #825A1A #1A8226
square
#1A4282 #821A76 #825A1A #1A8226
split-complementary
#1A4282 #82261A #76821A
monochromatic
#060E1C #10284F #1A4282 #245CB5 #3E79D8

Accessibility & contrast

On white

9.79
#1A4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4282
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4282#FFFFFF#000000##FFFFFF
##1A42821.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a4282;
/* rgb */ color: rgb(26, 66, 130);
/* oklch */ color: oklch(38.9% 0.117 259.5);
Tailwind
colors: {
  custom: {
    50: '#6875a7',
    500: '#1a4282',
    950: '#000000',
  },
}
SCSS
$custom: #1a4282;
$custom-light: #6875a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4282",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 216.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38884,
    "c": 0.117,
    "h": 259.5
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#1A4282
secondary
#B68942
accent
#A83EEA
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4282

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

Preview Lab → · Contrast checker → · Palette generator →

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