#1A3E82#1A3E82

#1A3E82 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.0% C 0.122 H 261.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#1A3E82
RGBrgb(26, 62, 130)
HSLhsl(219, 67%, 31%)
HSVhsv(219, 80%, 51%)
CMYKcmyk(80%, 52.3%, 0%, 49%)
CIE-LABlab(27.51, 13.49, -42.00)
CIE-LCHlch(27.51, 44.12, 287.80°)
OKLaboklab(37.96% -0.0178 -0.1209)
OKLCHoklch(37.96% 0.122 261.6)
XYZxyz(6.1764, 5.2759, 21.8076)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E82 #825E1A
analogous
#1A7282 #1A3E82 #2A1A82
triadic
#1A3E82 #821A3E #3E821A
tetradic
#1A3E82 #821A72 #825E1A #1A822A
square
#1A3E82 #821A72 #825E1A #1A822A
split-complementary
#1A3E82 #822A1A #72821A
monochromatic
#060D1C #10264F #1A3E82 #2456B5 #3E73D8

Accessibility & contrast

On white

10.22
#1A3E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1A3E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E82
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E82#FFFFFF#000000##FFFFFF
##1A3E821.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3e82;
/* rgb */ color: rgb(26, 62, 130);
/* oklch */ color: oklch(38.0% 0.122 261.6);
Tailwind
colors: {
  custom: {
    50: '#6872a7',
    500: '#1a3e82',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e82;
$custom-light: #6872a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e82",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 219.231,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.12218,
    "h": 261.6
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#1A3E82
secondary
#B68E42
accent
#AE3EEA
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A3E82

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

Preview Lab → · Contrast checker → · Palette generator →

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