#1A4181#1A4181

#1A4181 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.117 H 259.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1A4181
RGBrgb(26, 65, 129)
HSLhsl(217, 66%, 30%)
HSVhsv(217, 80%, 51%)
CMYKcmyk(79.8%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.34, 10.99, -40.04)
CIE-LCHlch(28.34, 41.52, 285.35°)
OKLaboklab(38.57% -0.0205 -0.115)
OKLCHoklch(38.57% 0.117 259.9)
XYZxyz(6.2773, 5.5845, 21.5117)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4181 #815A1A
analogous
#1A7481 #1A4181 #271A81
triadic
#1A4181 #811A41 #41811A
tetradic
#1A4181 #811A74 #815A1A #1A8127
square
#1A4181 #811A74 #815A1A #1A8127
split-complementary
#1A4181 #81271A #74811A
monochromatic
#050E1B #10274E #1A4181 #245BB4 #3D78D8

Accessibility & contrast

On white

9.92
#1A4181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1A4181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4181
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4181#FFFFFF#000000##FFFFFF
##1A41811.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4883
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a4181;
/* rgb */ color: rgb(26, 65, 129);
/* oklch */ color: oklch(38.6% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#6775a6',
    500: '#1a4181',
    950: '#000000',
  },
}
SCSS
$custom: #1a4181;
$custom-light: #6775a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4181",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 217.282,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38574,
    "c": 0.11684,
    "h": 259.9
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#1A4181
secondary
#B58942
accent
#A93EE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4181

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

Preview Lab → · Contrast checker → · Palette generator →

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