#1A3784#1A3784

#1A3784 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.134 H 264.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#1A3784
RGBrgb(26, 55, 132)
HSLhsl(224, 67%, 31%)
HSVhsv(224, 80%, 52%)
CMYKcmyk(80.3%, 58.3%, 0%, 48.2%)
CIE-LABlab(25.62, 19.22, -46.32)
CIE-LCHlch(25.62, 50.15, 292.53°)
OKLaboklab(36.58% -0.0122 -0.1337)
OKLCHoklch(36.58% 0.134 264.8)
XYZxyz(5.9556, 4.6172, 22.4027)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3784 #84671A
analogous
#1A6C84 #1A3784 #321A84
triadic
#1A3784 #841A37 #37841A
tetradic
#1A3784 #841A6C #84671A #1A8432
square
#1A3784 #841A6C #84671A #1A8432
split-complementary
#1A3784 #84321A #6C841A
monochromatic
#060C1E #102251 #1A3784 #244CB7 #3F69D9

Accessibility & contrast

On white

10.92
#1A3784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1A3784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3784
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3784#FFFFFF#000000##FFFFFF
##1A37841.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3784;
/* rgb */ color: rgb(26, 55, 132);
/* oklch */ color: oklch(36.6% 0.134 264.8);
Tailwind
colors: {
  custom: {
    50: '#696da8',
    500: '#1a3784',
    950: '#000000',
  },
}
SCSS
$custom: #1a3784;
$custom-light: #696da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3784",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 223.585,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36575,
    "c": 0.13425,
    "h": 264.8
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#1A3784
secondary
#B89742
accent
#BB3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3784

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

Preview Lab → · Contrast checker → · Palette generator →

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