#1A3982#1A3982

#1A3982 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.8% C 0.129 H 263.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1A3982
RGBrgb(26, 57, 130)
HSLhsl(222, 67%, 31%)
HSVhsv(222, 80%, 51%)
CMYKcmyk(80%, 56.2%, 0%, 49%)
CIE-LABlab(26.03, 17.00, -44.39)
CIE-LCHlch(26.03, 47.54, 290.95°)
OKLaboklab(36.84% -0.0138 -0.128)
OKLCHoklch(36.84% 0.129 263.8)
XYZxyz(5.9170, 4.7569, 21.7211)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3982 #82631A
analogous
#1A6D82 #1A3982 #2F1A82
triadic
#1A3982 #821A39 #39821A
tetradic
#1A3982 #821A6D #82631A #1A822F
square
#1A3982 #821A6D #82631A #1A822F
split-complementary
#1A3982 #822F1A #6D821A
monochromatic
#060C1C #10234F #1A3982 #244FB5 #3E6CD8

Accessibility & contrast

On white

10.76
#1A3982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1A3982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3982
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3982#FFFFFF#000000##FFFFFF
##1A39821.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3982;
/* rgb */ color: rgb(26, 57, 130);
/* oklch */ color: oklch(36.8% 0.129 263.8);
Tailwind
colors: {
  custom: {
    50: '#686ea7',
    500: '#1a3982',
    950: '#000000',
  },
}
SCSS
$custom: #1a3982;
$custom-light: #686ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3982",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 130
  },
  "hsl": {
    "h": 222.115,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.12874,
    "h": 263.8
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#1A3982
secondary
#B69342
accent
#B73EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3982

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

Preview Lab → · Contrast checker → · Palette generator →

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