#1A427F#1A427F

#1A427F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.113 H 258.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#1A427F
RGBrgb(26, 66, 127)
HSLhsl(216, 66%, 30%)
HSVhsv(216, 80%, 50%)
CMYKcmyk(79.5%, 48%, 0%, 50.2%)
CIE-LABlab(28.51, 9.48, -38.52)
CIE-LCHlch(28.51, 39.67, 283.82°)
OKLaboklab(38.66% -0.0218 -0.1105)
OKLCHoklch(38.66% 0.113 258.9)
XYZxyz(6.2036, 5.6476, 20.8377)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A427F #7F571A
analogous
#1A747F #1A427F #251A7F
triadic
#1A427F #7F1A42 #427F1A
tetradic
#1A427F #7F1A74 #7F571A #1A7F25
square
#1A427F #7F1A74 #7F571A #1A7F25
split-complementary
#1A427F #7F251A #747F1A
monochromatic
#050D19 #10284C #1A427F #245CB2 #3C7AD7

Accessibility & contrast

On white

9.86
#1A427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1A427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A427F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A427F#FFFFFF#000000##FFFFFF
##1A427F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#083F7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a427f;
/* rgb */ color: rgb(26, 66, 127);
/* oklch */ color: oklch(38.7% 0.113 258.9);
Tailwind
colors: {
  custom: {
    50: '#6775a4',
    500: '#1a427f',
    950: '#000000',
  },
}
SCSS
$custom: #1a427f;
$custom-light: #6775a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a427f",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 216.238,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.38657,
    "c": 0.11266,
    "h": 258.9
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#1A427F
secondary
#B38642
accent
#A63FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A427F

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

Preview Lab → · Contrast checker → · Palette generator →

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