#1A408D#1A408D

#1A408D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.135 H 262.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1A408D
RGBrgb(26, 64, 141)
HSLhsl(220, 69%, 33%)
HSVhsv(220, 82%, 55%)
CMYKcmyk(81.6%, 54.6%, 0%, 44.7%)
CIE-LABlab(28.92, 16.59, -46.53)
CIE-LCHlch(28.92, 49.40, 289.63°)
OKLaboklab(39.3% -0.0181 -0.1342)
OKLCHoklch(39.3% 0.135 262.3)
XYZxyz(7.0654, 5.8087, 25.9429)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A408D #8D671A
analogous
#1A798D #1A408D #2E1A8D
triadic
#1A408D #8D1A40 #408D1A
tetradic
#1A408D #8D1A79 #8D671A #1A8D2E
square
#1A408D #8D1A79 #8D671A #1A8D2E
split-complementary
#1A408D #8D2E1A #798D1A
monochromatic
#071126 #102959 #1A408D #2457C1 #4577DD

Accessibility & contrast

On white

9.71
#1A408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A408D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A408D#FFFFFF#000000##FFFFFF
##1A408D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a408d;
/* rgb */ color: rgb(26, 64, 141);
/* oklch */ color: oklch(39.3% 0.135 262.3);
Tailwind
colors: {
  custom: {
    50: '#6b74af',
    500: '#1a408d',
    950: '#000000',
  },
}
SCSS
$custom: #1a408d;
$custom-light: #6b74af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a408d",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 220.174,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39302,
    "c": 0.13538,
    "h": 262.3
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#1A408D
secondary
#BE9645
accent
#B23CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A408D

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

Preview Lab → · Contrast checker → · Palette generator →

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