#1A4284#1A4284

#1A4284 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.120 H 260.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1A4284
RGBrgb(26, 66, 132)
HSLhsl(217, 67%, 31%)
HSVhsv(217, 80%, 52%)
CMYKcmyk(80.3%, 50%, 0%, 48.2%)
CIE-LABlab(28.85, 11.53, -41.08)
CIE-LCHlch(28.85, 42.66, 285.68°)
OKLaboklab(39.04% -0.0209 -0.1181)
OKLCHoklch(39.04% 0.12 260)
XYZxyz(6.5376, 5.7812, 22.5967)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4284 #845C1A
analogous
#1A7784 #1A4284 #271A84
triadic
#1A4284 #841A42 #42841A
tetradic
#1A4284 #841A77 #845C1A #1A8427
square
#1A4284 #841A77 #845C1A #1A8427
split-complementary
#1A4284 #84271A #77841A
monochromatic
#060F1E #102851 #1A4284 #245CB7 #3F79D9

Accessibility & contrast

On white

9.74
#1A4284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A4284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4284
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4284#FFFFFF#000000##FFFFFF
##1A42841.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4284;
/* rgb */ color: rgb(26, 66, 132);
/* oklch */ color: oklch(39.0% 0.120 260.0);
Tailwind
colors: {
  custom: {
    50: '#6875a8',
    500: '#1a4284',
    950: '#000000',
  },
}
SCSS
$custom: #1a4284;
$custom-light: #6875a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4284",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 217.358,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.1199,
    "h": 260
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#1A4284
secondary
#B88B42
accent
#A93EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4284

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

Preview Lab → · Contrast checker → · Palette generator →

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