#1A3C84#1A3C84

#1A3C84 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.128 H 262.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#1A3C84
RGBrgb(26, 60, 132)
HSLhsl(221, 67%, 31%)
HSVhsv(221, 80%, 52%)
CMYKcmyk(80.3%, 54.5%, 0%, 48.2%)
CIE-LABlab(27.06, 15.71, -43.97)
CIE-LCHlch(27.06, 46.69, 289.66°)
OKLaboklab(37.67% -0.016 -0.1267)
OKLCHoklch(37.67% 0.128 262.8)
XYZxyz(6.2052, 5.1166, 22.4859)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C84 #84621A
analogous
#1A7184 #1A3C84 #2D1A84
triadic
#1A3C84 #841A3C #3C841A
tetradic
#1A3C84 #841A71 #84621A #1A842D
square
#1A3C84 #841A71 #84621A #1A842D
split-complementary
#1A3C84 #842D1A #71841A
monochromatic
#060E1E #102551 #1A3C84 #2453B7 #3F71D9

Accessibility & contrast

On white

10.38
#1A3C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A3C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C84
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C84#FFFFFF#000000##FFFFFF
##1A3C841.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064587
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3c84;
/* rgb */ color: rgb(26, 60, 132);
/* oklch */ color: oklch(37.7% 0.128 262.8);
Tailwind
colors: {
  custom: {
    50: '#6871a8',
    500: '#1a3c84',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c84;
$custom-light: #6871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c84",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 220.755,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3767,
    "c": 0.1277,
    "h": 262.8
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#1A3C84
secondary
#B89242
accent
#B33EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3C84

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

Preview Lab → · Contrast checker → · Palette generator →

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