#1A408A#1A408A

#1A408A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.131 H 261.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1A408A
RGBrgb(26, 64, 138)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 54%)
CMYKcmyk(81.2%, 53.6%, 0%, 45.9%)
CIE-LABlab(28.70, 15.37, -45.05)
CIE-LCHlch(28.70, 47.60, 288.84°)
OKLaboklab(39.06% -0.0184 -0.1298)
OKLCHoklch(39.06% 0.131 261.9)
XYZxyz(6.8452, 5.7206, 24.7832)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A408A #8A641A
analogous
#1A788A #1A408A #2C1A8A
triadic
#1A408A #8A1A40 #408A1A
tetradic
#1A408A #8A1A78 #8A641A #1A8A2C
square
#1A408A #8A1A78 #8A641A #1A8A2C
split-complementary
#1A408A #8A2C1A #788A1A
monochromatic
#071023 #102857 #1A408A #2458BD #4377DC

Accessibility & contrast

On white

9.79
#1A408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A408A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A408A#FFFFFF#000000##FFFFFF
##1A408A1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a408a;
/* rgb */ color: rgb(26, 64, 138);
/* oklch */ color: oklch(39.1% 0.131 261.9);
Tailwind
colors: {
  custom: {
    50: '#6a74ad',
    500: '#1a408a',
    950: '#000000',
  },
}
SCSS
$custom: #1a408a;
$custom-light: #6a74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a408a",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 219.643,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39056,
    "c": 0.13109,
    "h": 261.9
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#1A408A
secondary
#BD9343
accent
#B03DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A408A

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

Preview Lab → · Contrast checker → · Palette generator →

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