#1A4281#1A4281

#1A4281 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.116 H 259.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1A4281
RGBrgb(26, 66, 129)
HSLhsl(217, 66%, 30%)
HSVhsv(217, 80%, 51%)
CMYKcmyk(79.8%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.64, 10.30, -39.55)
CIE-LCHlch(28.64, 40.87, 284.60°)
OKLaboklab(38.81% -0.0214 -0.1136)
OKLCHoklch(38.81% 0.116 259.3)
XYZxyz(6.3352, 5.7003, 21.5310)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4281 #81591A
analogous
#1A7581 #1A4281 #251A81
triadic
#1A4281 #811A42 #42811A
tetradic
#1A4281 #811A75 #81591A #1A8125
square
#1A4281 #811A75 #81591A #1A8125
split-complementary
#1A4281 #81251A #75811A
monochromatic
#050E1B #10284E #1A4281 #245CB4 #3D79D8

Accessibility & contrast

On white

9.81
#1A4281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A4281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4281
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4281#FFFFFF#000000##FFFFFF
##1A42811.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4983
Deuteranopia (green-blind)
#023F80
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4281;
/* rgb */ color: rgb(26, 66, 129);
/* oklch */ color: oklch(38.8% 0.116 259.3);
Tailwind
colors: {
  custom: {
    50: '#6775a6',
    500: '#1a4281',
    950: '#000000',
  },
}
SCSS
$custom: #1a4281;
$custom-light: #6775a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4281",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 216.699,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.11556,
    "h": 259.3
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#1A4281
secondary
#B58842
accent
#A73EE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A4281

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

Preview Lab → · Contrast checker → · Palette generator →

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