#1A4082#1A4082

#1A4082 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.120 H 260.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#1A4082
RGBrgb(26, 64, 130)
HSLhsl(218, 67%, 31%)
HSVhsv(218, 80%, 51%)
CMYKcmyk(80%, 50.8%, 0%, 49%)
CIE-LABlab(28.11, 12.10, -41.04)
CIE-LCHlch(28.11, 42.78, 286.42°)
OKLaboklab(38.42% -0.0195 -0.118)
OKLCHoklch(38.42% 0.12 260.6)
XYZxyz(6.2872, 5.4974, 21.8445)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4082 #825C1A
analogous
#1A7482 #1A4082 #281A82
triadic
#1A4082 #821A40 #40821A
tetradic
#1A4082 #821A74 #825C1A #1A8228
square
#1A4082 #821A74 #825C1A #1A8228
split-complementary
#1A4082 #82281A #74821A
monochromatic
#060E1C #10274F #1A4082 #2459B5 #3E76D8

Accessibility & contrast

On white

10.00
#1A4082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1A4082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4082
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4082#FFFFFF#000000##FFFFFF
##1A40821.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a4082;
/* rgb */ color: rgb(26, 64, 130);
/* oklch */ color: oklch(38.4% 0.120 260.6);
Tailwind
colors: {
  custom: {
    50: '#6874a7',
    500: '#1a4082',
    950: '#000000',
  },
}
SCSS
$custom: #1a4082;
$custom-light: #6874a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4082",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 218.077,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.11958,
    "h": 260.6
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#1A4082
secondary
#B68B42
accent
#AB3EEA
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4082

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

Preview Lab → · Contrast checker → · Palette generator →

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