#1A3A82#1A3A82

#1A3A82 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.1% C 0.127 H 263.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#1A3A82
RGBrgb(26, 58, 130)
HSLhsl(222, 67%, 31%)
HSVhsv(222, 80%, 51%)
CMYKcmyk(80%, 55.4%, 0%, 49%)
CIE-LABlab(26.32, 16.29, -43.92)
CIE-LCHlch(26.32, 46.85, 290.35°)
OKLaboklab(37.06% -0.0146 -0.1266)
OKLCHoklch(37.06% 0.127 263.4)
XYZxyz(5.9669, 4.8567, 21.7377)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A82 #82621A
analogous
#1A6E82 #1A3A82 #2E1A82
triadic
#1A3A82 #821A3A #3A821A
tetradic
#1A3A82 #821A6E #82621A #1A822E
square
#1A3A82 #821A6E #82621A #1A822E
split-complementary
#1A3A82 #822E1A #6E821A
monochromatic
#060C1C #10234F #1A3A82 #2451B5 #3E6ED8

Accessibility & contrast

On white

10.65
#1A3A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1A3A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A82
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A82#FFFFFF#000000##FFFFFF
##1A3A821.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3a82;
/* rgb */ color: rgb(26, 58, 130);
/* oklch */ color: oklch(37.1% 0.127 263.4);
Tailwind
colors: {
  custom: {
    50: '#686fa7',
    500: '#1a3a82',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a82;
$custom-light: #686fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a82",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 221.538,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37059,
    "c": 0.12743,
    "h": 263.4
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#1A3A82
secondary
#B69242
accent
#B53EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3A82

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

Preview Lab → · Contrast checker → · Palette generator →

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