#1A4584#1A4584

#1A4584 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.116 H 258.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1A4584
RGBrgb(26, 69, 132)
HSLhsl(216, 67%, 31%)
HSVhsv(216, 80%, 52%)
CMYKcmyk(80.3%, 47.7%, 0%, 48.2%)
CIE-LABlab(29.77, 9.46, -39.61)
CIE-LCHlch(29.77, 40.72, 283.43°)
OKLaboklab(39.74% -0.0235 -0.1137)
OKLCHoklch(39.74% 0.116 258.3)
XYZxyz(6.7175, 6.1410, 22.6566)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4584 #84591A
analogous
#1A7A84 #1A4584 #241A84
triadic
#1A4584 #841A45 #45841A
tetradic
#1A4584 #841A7A #84591A #1A8424
square
#1A4584 #841A7A #84591A #1A8424
split-complementary
#1A4584 #84241A #7A841A
monochromatic
#06101E #102A51 #1A4584 #2460B7 #3F7ED9

Accessibility & contrast

On white

9.42
#1A4584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1A4584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4584
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4584#FFFFFF#000000##FFFFFF
##1A45841.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#084283
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4584;
/* rgb */ color: rgb(26, 69, 132);
/* oklch */ color: oklch(39.7% 0.116 258.3);
Tailwind
colors: {
  custom: {
    50: '#6878a8',
    500: '#1a4584',
    950: '#000000',
  },
}
SCSS
$custom: #1a4584;
$custom-light: #6878a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4584",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 215.66,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.11608,
    "h": 258.3
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#1A4584
secondary
#B88842
accent
#A43EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4584

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

Preview Lab → · Contrast checker → · Palette generator →

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