#1A417D#1A417D

#1A417D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.111 H 259.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1A417D
RGBrgb(26, 65, 125)
HSLhsl(216, 66%, 30%)
HSVhsv(216, 79%, 49%)
CMYKcmyk(79.2%, 48%, 0%, 51%)
CIE-LABlab(28.06, 9.35, -37.98)
CIE-LCHlch(28.06, 39.12, 283.83°)
OKLaboklab(38.27% -0.0213 -0.109)
OKLCHoklch(38.27% 0.111 259)
XYZxyz(6.0166, 5.4802, 20.1387)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A417D #7D561A
analogous
#1A737D #1A417D #251A7D
triadic
#1A417D #7D1A41 #417D1A
tetradic
#1A417D #7D1A73 #7D561A #1A7D25
square
#1A417D #7D1A73 #7D561A #1A7D25
split-complementary
#1A417D #7D251A #737D1A
monochromatic
#050D19 #0F274A #1A417D #255BB0 #3B78D6

Accessibility & contrast

On white

10.02
#1A417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1A417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A417D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A417D#FFFFFF#000000##FFFFFF
##1A417D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a417d;
/* rgb */ color: rgb(26, 65, 125);
/* oklch */ color: oklch(38.3% 0.111 259.0);
Tailwind
colors: {
  custom: {
    50: '#6675a3',
    500: '#1a417d',
    950: '#000000',
  },
}
SCSS
$custom: #1a417d;
$custom-light: #6675a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a417d",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 216.364,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38271,
    "c": 0.11103,
    "h": 259
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A417D

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

Preview Lab → · Contrast checker → · Palette generator →

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