#1A4187#1A4187

#1A4187 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.126 H 261.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1A4187
RGBrgb(26, 65, 135)
HSLhsl(219, 68%, 32%)
HSVhsv(219, 81%, 53%)
CMYKcmyk(80.7%, 51.9%, 0%, 47.1%)
CIE-LABlab(28.77, 13.45, -43.08)
CIE-LCHlch(28.77, 45.13, 287.34°)
OKLaboklab(39.04% -0.0196 -0.124)
OKLCHoklch(39.04% 0.126 261)
XYZxyz(6.6879, 5.7487, 23.6741)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4187 #87601A
analogous
#1A7887 #1A4187 #2A1A87
triadic
#1A4187 #871A41 #41871A
tetradic
#1A4187 #871A78 #87601A #1A872A
square
#1A4187 #871A78 #87601A #1A872A
split-complementary
#1A4187 #872A1A #78871A
monochromatic
#061020 #102854 #1A4187 #245ABA #4178DA

Accessibility & contrast

On white

9.77
#1A4187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A4187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4187
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4187#FFFFFF#000000##FFFFFF
##1A41871.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4187;
/* rgb */ color: rgb(26, 65, 135);
/* oklch */ color: oklch(39.0% 0.126 261.0);
Tailwind
colors: {
  custom: {
    50: '#6975aa',
    500: '#1a4187',
    950: '#000000',
  },
}
SCSS
$custom: #1a4187;
$custom-light: #6975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4187",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 218.532,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.1255,
    "h": 261
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#1A4187
secondary
#BA8F42
accent
#AD3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4187

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

Preview Lab → · Contrast checker → · Palette generator →

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