#1A3284#1A3284

#1A3284 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.141 H 266.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1A3284
RGBrgb(26, 50, 132)
HSLhsl(226, 67%, 31%)
HSVhsv(226, 80%, 52%)
CMYKcmyk(80.3%, 62.1%, 0%, 48.2%)
CIE-LABlab(24.21, 22.72, -48.61)
CIE-LCHlch(24.21, 53.65, 295.05°)
OKLaboklab(35.53% -0.0086 -0.1405)
OKLCHoklch(35.53% 0.141 266.5)
XYZxyz(5.7300, 4.1661, 22.3275)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3284 #846C1A
analogous
#1A6784 #1A3284 #371A84
triadic
#1A3284 #841A32 #32841A
tetradic
#1A3284 #841A67 #846C1A #1A8437
square
#1A3284 #841A67 #846C1A #1A8437
split-complementary
#1A3284 #84371A #67841A
monochromatic
#060B1E #101F51 #1A3284 #2445B7 #3F62D9

Accessibility & contrast

On white

11.45
#1A3284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A3284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3284
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3284#FFFFFF#000000##FFFFFF
##1A32841.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3284;
/* rgb */ color: rgb(26, 50, 132);
/* oklch */ color: oklch(35.5% 0.141 266.5);
Tailwind
colors: {
  custom: {
    50: '#6969a9',
    500: '#1a3284',
    950: '#000000',
  },
}
SCSS
$custom: #1a3284;
$custom-light: #6969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3284",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 226.415,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35525,
    "c": 0.14075,
    "h": 266.5
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#1A3284
secondary
#B89D42
accent
#C33EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3284

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

Preview Lab → · Contrast checker → · Palette generator →

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