#1A4582#1A4582

#1A4582 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.113 H 257.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1A4582
RGBrgb(26, 69, 130)
HSLhsl(215, 67%, 31%)
HSVhsv(215, 80%, 51%)
CMYKcmyk(80%, 46.9%, 0%, 49%)
CIE-LABlab(29.63, 8.64, -38.58)
CIE-LCHlch(29.63, 39.54, 282.62°)
OKLaboklab(39.59% -0.0239 -0.1107)
OKLCHoklch(39.59% 0.113 257.8)
XYZxyz(6.5819, 6.0868, 21.9427)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4582 #82571A
analogous
#1A7982 #1A4582 #231A82
triadic
#1A4582 #821A45 #45821A
tetradic
#1A4582 #821A79 #82571A #1A8223
square
#1A4582 #821A79 #82571A #1A8223
split-complementary
#1A4582 #82231A #79821A
monochromatic
#060F1C #102A4F #1A4582 #2460B5 #3E7ED8

Accessibility & contrast

On white

9.47
#1A4582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1A4582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4582
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4582#FFFFFF#000000##FFFFFF
##1A45821.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254B84
Deuteranopia (green-blind)
#0D4181
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4582;
/* rgb */ color: rgb(26, 69, 130);
/* oklch */ color: oklch(39.6% 0.113 257.8);
Tailwind
colors: {
  custom: {
    50: '#6878a7',
    500: '#1a4582',
    950: '#000000',
  },
}
SCSS
$custom: #1a4582;
$custom-light: #6878a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4582",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 215.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39591,
    "c": 0.11321,
    "h": 257.8
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#1A4582
secondary
#B68642
accent
#A33EEA
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4582

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

Preview Lab → · Contrast checker → · Palette generator →

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