#1A417B#1A417B

#1A417B is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.108 H 258.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#1A417B
RGBrgb(26, 65, 123)
HSLhsl(216, 65%, 29%)
HSVhsv(216, 79%, 48%)
CMYKcmyk(78.9%, 47.2%, 0%, 51.8%)
CIE-LABlab(27.93, 8.53, -36.95)
CIE-LCHlch(27.93, 37.92, 283.00°)
OKLaboklab(38.12% -0.0216 -0.1059)
OKLCHoklch(38.12% 0.108 258.5)
XYZxyz(5.8901, 5.4296, 19.4726)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A417B #7B541A
analogous
#1A727B #1A417B #231A7B
triadic
#1A417B #7B1A41 #417B1A
tetradic
#1A417B #7B1A72 #7B541A #1A7B23
square
#1A417B #7B1A72 #7B541A #1A7B23
split-complementary
#1A417B #7B231A #727B1A
monochromatic
#050D19 #0F2648 #1A417B #255CAE #3A78D5

Accessibility & contrast

On white

10.07
#1A417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1A417B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A417B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A417B#FFFFFF#000000##FFFFFF
##1A417B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#0D3E7A
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a417b;
/* rgb */ color: rgb(26, 65, 123);
/* oklch */ color: oklch(38.1% 0.108 258.5);
Tailwind
colors: {
  custom: {
    50: '#6675a1',
    500: '#1a417b',
    950: '#000000',
  },
}
SCSS
$custom: #1a417b;
$custom-light: #6675a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a417b",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 215.876,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38122,
    "c": 0.10812,
    "h": 258.5
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#1A417B
secondary
#AF8342
accent
#A440E8
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A417B

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

Preview Lab → · Contrast checker → · Palette generator →

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