#1A417F#1A417F

#1A417F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.114 H 259.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#1A417F
RGBrgb(26, 65, 127)
HSLhsl(217, 66%, 30%)
HSVhsv(217, 80%, 50%)
CMYKcmyk(79.5%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.20, 10.17, -39.01)
CIE-LCHlch(28.20, 40.32, 284.61°)
OKLaboklab(38.42% -0.0209 -0.112)
OKLCHoklch(38.42% 0.114 259.4)
XYZxyz(6.1457, 5.5318, 20.8184)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A417F #7F581A
analogous
#1A737F #1A417F #261A7F
triadic
#1A417F #7F1A41 #417F1A
tetradic
#1A417F #7F1A73 #7F581A #1A7F26
square
#1A417F #7F1A73 #7F581A #1A7F26
split-complementary
#1A417F #7F261A #737F1A
monochromatic
#050D19 #10274C #1A417F #245BB2 #3C78D7

Accessibility & contrast

On white

9.97
#1A417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1A417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A417F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A417F#FFFFFF#000000##FFFFFF
##1A417F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#033E7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a417f;
/* rgb */ color: rgb(26, 65, 127);
/* oklch */ color: oklch(38.4% 0.114 259.4);
Tailwind
colors: {
  custom: {
    50: '#6775a4',
    500: '#1a417f',
    950: '#000000',
  },
}
SCSS
$custom: #1a417f;
$custom-light: #6775a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a417f",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 216.832,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.38422,
    "c": 0.11394,
    "h": 259.4
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#1A417F
secondary
#B38742
accent
#A73FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A417F

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

Preview Lab → · Contrast checker → · Palette generator →

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