#1A417C#1A417C

#1A417C is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.110 H 258.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#1A417C
RGBrgb(26, 65, 124)
HSLhsl(216, 65%, 29%)
HSVhsv(216, 79%, 49%)
CMYKcmyk(79%, 47.6%, 0%, 51.4%)
CIE-LABlab(27.99, 8.94, -37.47)
CIE-LCHlch(27.99, 38.52, 283.42°)
OKLaboklab(38.2% -0.0214 -0.1075)
OKLCHoklch(38.2% 0.11 258.7)
XYZxyz(5.9531, 5.4548, 19.8040)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A417C #7C551A
analogous
#1A727C #1A417C #241A7C
triadic
#1A417C #7C1A41 #417C1A
tetradic
#1A417C #7C1A72 #7C551A #1A7C24
square
#1A417C #7C1A72 #7C551A #1A7C24
split-complementary
#1A417C #7C241A #727C1A
monochromatic
#050D19 #0F2649 #1A417C #255CAF #3B78D6

Accessibility & contrast

On white

10.04
#1A417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A417C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A417C#FFFFFF#000000##FFFFFF
##1A417C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#0B3E7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a417c;
/* rgb */ color: rgb(26, 65, 124);
/* oklch */ color: oklch(38.2% 0.110 258.7);
Tailwind
colors: {
  custom: {
    50: '#6675a2',
    500: '#1a417c',
    950: '#000000',
  },
}
SCSS
$custom: #1a417c;
$custom-light: #6675a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a417c",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 216.122,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.10958,
    "h": 258.7
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#1A417C
secondary
#B08442
accent
#A540E8
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A417C

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

Preview Lab → · Contrast checker → · Palette generator →

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