#1A417A#1A417A

#1A417A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.107 H 258.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#1A417A
RGBrgb(26, 65, 122)
HSLhsl(216, 65%, 29%)
HSVhsv(216, 79%, 48%)
CMYKcmyk(78.7%, 46.7%, 0%, 52.2%)
CIE-LABlab(27.86, 8.12, -36.43)
CIE-LCHlch(27.86, 37.32, 282.57°)
OKLaboklab(38.05% -0.0218 -0.1044)
OKLCHoklch(38.05% 0.107 258.2)
XYZxyz(5.8279, 5.4047, 19.1446)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A417A #7A531A
analogous
#1A717A #1A417A #231A7A
triadic
#1A417A #7A1A41 #417A1A
tetradic
#1A417A #7A1A71 #7A531A #1A7A23
square
#1A417A #7A1A71 #7A531A #1A7A23
split-complementary
#1A417A #7A231A #717A1A
monochromatic
#050D19 #0F2648 #1A417A #255CAC #3979D5

Accessibility & contrast

On white

10.09
#1A417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A417A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A417A#FFFFFF#000000##FFFFFF
##1A417A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467C
Deuteranopia (green-blind)
#0F3E79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a417a;
/* rgb */ color: rgb(26, 65, 122);
/* oklch */ color: oklch(38.0% 0.107 258.2);
Tailwind
colors: {
  custom: {
    50: '#6675a1',
    500: '#1a417a',
    950: '#000000',
  },
}
SCSS
$custom: #1a417a;
$custom-light: #6675a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a417a",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 215.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38049,
    "c": 0.10666,
    "h": 258.2
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#1A417A
secondary
#AE8241
accent
#A440E8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #1A417A

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

Preview Lab → · Contrast checker → · Palette generator →

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