#1A418B#1A418B

#1A418B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.131 H 261.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1A418B
RGBrgb(26, 65, 139)
HSLhsl(219, 68%, 32%)
HSVhsv(219, 81%, 55%)
CMYKcmyk(81.3%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.07, 15.08, -45.07)
CIE-LCHlch(29.07, 47.53, 288.50°)
OKLaboklab(39.36% -0.0191 -0.1298)
OKLCHoklch(39.36% 0.131 261.6)
XYZxyz(6.9748, 5.8635, 25.1853)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A418B #8B641A
analogous
#1A7A8B #1A418B #2B1A8B
triadic
#1A418B #8B1A41 #418B1A
tetradic
#1A418B #8B1A7A #8B641A #1A8B2B
square
#1A418B #8B1A7A #8B641A #1A8B2B
split-complementary
#1A418B #8B2B1A #7A8B1A
monochromatic
#071124 #102957 #1A418B #2459BF #4378DC

Accessibility & contrast

On white

9.66
#1A418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A418B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A418B#FFFFFF#000000##FFFFFF
##1A418B1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a418b;
/* rgb */ color: rgb(26, 65, 139);
/* oklch */ color: oklch(39.4% 0.131 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a75ad',
    500: '#1a418b',
    950: '#000000',
  },
}
SCSS
$custom: #1a418b;
$custom-light: #6a75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a418b",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 219.292,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.13123,
    "h": 261.6
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#1A418B
secondary
#BD9344
accent
#AF3CEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A418B

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

Preview Lab → · Contrast checker → · Palette generator →

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