#1A407F#1A407F

#1A407F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.115 H 260.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1A407F
RGBrgb(26, 64, 127)
HSLhsl(217, 66%, 30%)
HSVhsv(217, 80%, 50%)
CMYKcmyk(79.5%, 49.6%, 0%, 50.2%)
CIE-LABlab(27.89, 10.87, -39.51)
CIE-LCHlch(27.89, 40.97, 285.38°)
OKLaboklab(38.19% -0.02 -0.1135)
OKLCHoklch(38.19% 0.115 260)
XYZxyz(6.0888, 5.4180, 20.7994)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A407F #7F591A
analogous
#1A727F #1A407F #271A7F
triadic
#1A407F #7F1A40 #407F1A
tetradic
#1A407F #7F1A72 #7F591A #1A7F27
square
#1A407F #7F1A72 #7F591A #1A7F27
split-complementary
#1A407F #7F271A #727F1A
monochromatic
#050D19 #10264C #1A407F #245AB2 #3C77D7

Accessibility & contrast

On white

10.08
#1A407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A407F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A407F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A407F#FFFFFF#000000##FFFFFF
##1A407F1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a407f;
/* rgb */ color: rgb(26, 64, 127);
/* oklch */ color: oklch(38.2% 0.115 260.0);
Tailwind
colors: {
  custom: {
    50: '#6774a4',
    500: '#1a407f',
    950: '#000000',
  },
}
SCSS
$custom: #1a407f;
$custom-light: #6774a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a407f",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 217.426,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.11523,
    "h": 260
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#1A407F
secondary
#B38842
accent
#A93FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A407F

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

Preview Lab → · Contrast checker → · Palette generator →

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