#1A3D82#1A3D82

#1A3D82 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.7% C 0.123 H 262.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1A3D82
RGBrgb(26, 61, 130)
HSLhsl(220, 67%, 31%)
HSVhsv(220, 80%, 51%)
CMYKcmyk(80%, 53.1%, 0%, 49%)
CIE-LABlab(27.21, 14.19, -42.49)
CIE-LCHlch(27.21, 44.79, 288.47°)
OKLaboklab(37.73% -0.017 -0.1223)
OKLCHoklch(37.73% 0.123 262.1)
XYZxyz(6.1226, 5.1681, 21.7896)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D82 #825F1A
analogous
#1A7182 #1A3D82 #2B1A82
triadic
#1A3D82 #821A3D #3D821A
tetradic
#1A3D82 #821A71 #825F1A #1A822B
square
#1A3D82 #821A71 #825F1A #1A822B
split-complementary
#1A3D82 #822B1A #71821A
monochromatic
#060D1C #10254F #1A3D82 #2455B5 #3E72D8

Accessibility & contrast

On white

10.33
#1A3D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1A3D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D82
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D82#FFFFFF#000000##FFFFFF
##1A3D821.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4584
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3d82;
/* rgb */ color: rgb(26, 61, 130);
/* oklch */ color: oklch(37.7% 0.123 262.1);
Tailwind
colors: {
  custom: {
    50: '#6871a7',
    500: '#1a3d82',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d82;
$custom-light: #6871a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d82",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 219.808,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.12349,
    "h": 262.1
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#1A3D82
secondary
#B68F42
accent
#B03EEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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