#1A4084#1A4084

#1A4084 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.6% C 0.122 H 261.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1A4084
RGBrgb(26, 64, 132)
HSLhsl(218, 67%, 31%)
HSVhsv(218, 80%, 52%)
CMYKcmyk(80.3%, 51.5%, 0%, 48.2%)
CIE-LABlab(28.25, 12.92, -42.05)
CIE-LCHlch(28.25, 43.99, 287.07°)
OKLaboklab(38.58% -0.0192 -0.121)
OKLCHoklch(38.58% 0.122 261)
XYZxyz(6.4227, 5.5516, 22.5584)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4084 #845E1A
analogous
#1A7584 #1A4084 #291A84
triadic
#1A4084 #841A40 #40841A
tetradic
#1A4084 #841A75 #845E1A #1A8429
square
#1A4084 #841A75 #845E1A #1A8429
split-complementary
#1A4084 #84291A #75841A
monochromatic
#060E1E #102751 #1A4084 #2459B7 #3F76D9

Accessibility & contrast

On white

9.95
#1A4084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1A4084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4084
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4084#FFFFFF#000000##FFFFFF
##1A40841.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164886
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a4084;
/* rgb */ color: rgb(26, 64, 132);
/* oklch */ color: oklch(38.6% 0.122 261.0);
Tailwind
colors: {
  custom: {
    50: '#6874a8',
    500: '#1a4084',
    950: '#000000',
  },
}
SCSS
$custom: #1a4084;
$custom-light: #6874a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4084",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 218.491,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.12248,
    "h": 261
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#1A4084
secondary
#B88E42
accent
#AC3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4084

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

Preview Lab → · Contrast checker → · Palette generator →

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