#1A418D#1A418D

#1A418D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.134 H 261.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#1A418D
RGBrgb(26, 65, 141)
HSLhsl(220, 69%, 33%)
HSVhsv(220, 82%, 55%)
CMYKcmyk(81.6%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.22, 15.90, -46.06)
CIE-LCHlch(29.22, 48.73, 289.05°)
OKLaboklab(39.52% -0.0189 -0.1327)
OKLCHoklch(39.52% 0.134 261.9)
XYZxyz(7.1223, 5.9224, 25.9619)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A418D #8D661A
analogous
#1A7A8D #1A418D #2C1A8D
triadic
#1A418D #8D1A41 #418D1A
tetradic
#1A418D #8D1A7A #8D661A #1A8D2C
square
#1A418D #8D1A7A #8D661A #1A8D2C
split-complementary
#1A418D #8D2C1A #7A8D1A
monochromatic
#071126 #102959 #1A418D #2459C1 #4578DD

Accessibility & contrast

On white

9.61
#1A418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1A418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A418D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A418D#FFFFFF#000000##FFFFFF
##1A418D1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094A90
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a418d;
/* rgb */ color: rgb(26, 65, 141);
/* oklch */ color: oklch(39.5% 0.134 261.9);
Tailwind
colors: {
  custom: {
    50: '#6a75af',
    500: '#1a418d',
    950: '#000000',
  },
}
SCSS
$custom: #1a418d;
$custom-light: #6a75af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a418d",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 219.652,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39524,
    "c": 0.13408,
    "h": 261.9
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#1A418D
secondary
#BE9545
accent
#B03CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A418D

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

Preview Lab → · Contrast checker → · Palette generator →

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