#1A3B82#1A3B82

#1A3B82 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.3% C 0.126 H 263.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#1A3B82
RGBrgb(26, 59, 130)
HSLhsl(221, 67%, 31%)
HSVhsv(221, 80%, 51%)
CMYKcmyk(80%, 54.6%, 0%, 49%)
CIE-LABlab(26.62, 15.59, -43.44)
CIE-LCHlch(26.62, 46.16, 289.74°)
OKLaboklab(37.28% -0.0154 -0.1252)
OKLCHoklch(37.28% 0.126 263)
XYZxyz(6.0178, 4.9586, 21.7547)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B82 #82611A
analogous
#1A6F82 #1A3B82 #2D1A82
triadic
#1A3B82 #821A3B #3B821A
tetradic
#1A3B82 #821A6F #82611A #1A822D
square
#1A3B82 #821A6F #82611A #1A822D
split-complementary
#1A3B82 #822D1A #6F821A
monochromatic
#060D1C #10244F #1A3B82 #2452B5 #3E6FD8

Accessibility & contrast

On white

10.54
#1A3B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1A3B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B82
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B82#FFFFFF#000000##FFFFFF
##1A3B821.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064485
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3b82;
/* rgb */ color: rgb(26, 59, 130);
/* oklch */ color: oklch(37.3% 0.126 263.0);
Tailwind
colors: {
  custom: {
    50: '#6870a7',
    500: '#1a3b82',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b82;
$custom-light: #6870a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b82",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 220.962,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37282,
    "c": 0.12612,
    "h": 263
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#1A3B82
secondary
#B69142
accent
#B33EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3B82

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

Preview Lab → · Contrast checker → · Palette generator →

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