#1A408F#1A408F

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

Color values

HEX#1A408F
RGBrgb(26, 64, 143)
HSLhsl(221, 69%, 33%)
HSVhsv(221, 82%, 56%)
CMYKcmyk(81.8%, 55.2%, 0%, 43.9%)
CIE-LABlab(29.08, 17.41, -47.51)
CIE-LCHlch(29.08, 50.60, 290.12°)
OKLaboklab(39.47% -0.0179 -0.137)
OKLCHoklch(39.47% 0.138 262.6)
XYZxyz(7.2155, 5.8687, 26.7338)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A408F #8F691A
analogous
#1A7A8F #1A408F #2E1A8F
triadic
#1A408F #8F1A40 #408F1A
tetradic
#1A408F #8F1A7A #8F691A #1A8F2E
square
#1A408F #8F1A7A #8F691A #1A8F2E
split-complementary
#1A408F #8F2E1A #7A8F1A
monochromatic
#071227 #11295B #1A408F #2357C3 #4677DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A408F#FFFFFF#000000##FFFFFF
##1A408F1.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)
#004A92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a408f;
/* rgb */ color: rgb(26, 64, 143);
/* oklch */ color: oklch(39.5% 0.138 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b74b0',
    500: '#1a408f',
    950: '#000000',
  },
}
SCSS
$custom: #1a408f;
$custom-light: #6b74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a408f",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 220.513,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.1382,
    "h": 262.6
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#1A408F
secondary
#BF9846
accent
#B33CEC
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #1A408F

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

Preview Lab → · Contrast checker → · Palette generator →

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