#1A4487#1A4487

#1A4487 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.7% C 0.122 H 259.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#1A4487
RGBrgb(26, 68, 135)
HSLhsl(217, 68%, 32%)
HSVhsv(217, 81%, 53%)
CMYKcmyk(80.7%, 49.6%, 0%, 47.1%)
CIE-LABlab(29.67, 11.37, -41.62)
CIE-LCHlch(29.67, 43.15, 285.28°)
OKLaboklab(39.73% -0.0221 -0.1196)
OKLCHoklch(39.73% 0.122 259.5)
XYZxyz(6.8647, 6.1023, 23.7330)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4487 #875D1A
analogous
#1A7B87 #1A4487 #271A87
triadic
#1A4487 #871A44 #44871A
tetradic
#1A4487 #871A7B #875D1A #1A8727
square
#1A4487 #871A7B #875D1A #1A8727
split-complementary
#1A4487 #87271A #7B871A
monochromatic
#061020 #102A54 #1A4487 #245EBA #417CDA

Accessibility & contrast

On white

9.46
#1A4487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1A4487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4487
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4487#FFFFFF#000000##FFFFFF
##1A44871.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4487;
/* rgb */ color: rgb(26, 68, 135);
/* oklch */ color: oklch(39.7% 0.122 259.5);
Tailwind
colors: {
  custom: {
    50: '#6977aa',
    500: '#1a4487',
    950: '#000000',
  },
}
SCSS
$custom: #1a4487;
$custom-light: #6977aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4487",
  "rgb": {
    "r": 26,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 216.881,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.12165,
    "h": 259.5
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#1A4487
secondary
#BA8C42
accent
#A83DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4487

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

Preview Lab → · Contrast checker → · Palette generator →

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