#10408D#10408D

#10408D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.138 H 260.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#10408D
RGBrgb(16, 64, 141)
HSLhsl(217, 80%, 31%)
HSVhsv(217, 89%, 55%)
CMYKcmyk(88.7%, 54.6%, 0%, 44.7%)
CIE-LABlab(28.64, 15.69, -47.01)
CIE-LCHlch(28.64, 49.56, 288.46°)
OKLaboklab(39.01% -0.024 -0.1357)
OKLCHoklch(39.01% 0.138 260)
XYZxyz(6.8530, 5.6992, 25.9330)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10408D #8D5D10
analogous
#107E8D #10408D #1E108D
triadic
#10408D #8D1040 #408D10
tetradic
#10408D #8D107E #8D5D10 #108D1E
square
#10408D #8D107E #8D5D10 #108D1E
split-complementary
#10408D #8D1E10 #7E8D10
monochromatic
#040E1F #0A2756 #10408D #1659C4 #3076E7

Accessibility & contrast

On white

9.81
#10408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#10408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10408D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10408D#FFFFFF#000000##FFFFFF
##10408D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #10408d;
/* rgb */ color: rgb(16, 64, 141);
/* oklch */ color: oklch(39.0% 0.138 260.0);
Tailwind
colors: {
  custom: {
    50: '#6874af',
    500: '#10408d',
    950: '#000000',
  },
}
SCSS
$custom: #10408d;
$custom-light: #6874af;
$custom-dark: #000000;
JSON
{
  "hex": "#10408d",
  "rgb": {
    "r": 16,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 216.96,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.13779,
    "h": 260
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#10408D
secondary
#C28C37
accent
#AB32F6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #10408D

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

Preview Lab → · Contrast checker → · Palette generator →

#10408D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva