#1A417E#1A417E

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

Color values

HEX#1A417E
RGBrgb(26, 65, 126)
HSLhsl(217, 66%, 30%)
HSVhsv(217, 79%, 49%)
CMYKcmyk(79.4%, 48.4%, 0%, 50.6%)
CIE-LABlab(28.13, 9.76, -38.50)
CIE-LCHlch(28.13, 39.72, 284.23°)
OKLaboklab(38.35% -0.0211 -0.1105)
OKLCHoklch(38.35% 0.112 259.2)
XYZxyz(6.0808, 5.5059, 20.4769)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A417E #7E571A
analogous
#1A737E #1A417E #251A7E
triadic
#1A417E #7E1A41 #417E1A
tetradic
#1A417E #7E1A73 #7E571A #1A7E25
square
#1A417E #7E1A73 #7E571A #1A7E25
split-complementary
#1A417E #7E251A #737E1A
monochromatic
#050D19 #10274B #1A417E #245BB1 #3C78D7

Accessibility & contrast

On white

9.99
#1A417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A417E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A417E#FFFFFF#000000##FFFFFF
##1A417E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#063E7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a417e;
/* rgb */ color: rgb(26, 65, 126);
/* oklch */ color: oklch(38.3% 0.112 259.2);
Tailwind
colors: {
  custom: {
    50: '#6775a4',
    500: '#1a417e',
    950: '#000000',
  },
}
SCSS
$custom: #1a417e;
$custom-light: #6775a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a417e",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 216.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.11249,
    "h": 259.2
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A417E

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

Preview Lab → · Contrast checker → · Palette generator →

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