#1A408B#1A408B

#1A408B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.133 H 262.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1A408B
RGBrgb(26, 64, 139)
HSLhsl(220, 68%, 32%)
HSVhsv(220, 81%, 55%)
CMYKcmyk(81.3%, 54%, 0%, 45.5%)
CIE-LABlab(28.77, 15.78, -45.55)
CIE-LCHlch(28.77, 48.20, 289.11°)
OKLaboklab(39.14% -0.0183 -0.1312)
OKLCHoklch(39.14% 0.133 262)
XYZxyz(6.9179, 5.7497, 25.1663)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A408B #8B651A
analogous
#1A798B #1A408B #2C1A8B
triadic
#1A408B #8B1A40 #408B1A
tetradic
#1A408B #8B1A79 #8B651A #1A8B2C
square
#1A408B #8B1A79 #8B651A #1A8B2C
split-complementary
#1A408B #8B2C1A #798B1A
monochromatic
#071124 #102857 #1A408B #2458BF #4377DC

Accessibility & contrast

On white

9.77
#1A408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A408B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A408B#FFFFFF#000000##FFFFFF
##1A408B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a408b;
/* rgb */ color: rgb(26, 64, 139);
/* oklch */ color: oklch(39.1% 0.133 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a74ad',
    500: '#1a408b',
    950: '#000000',
  },
}
SCSS
$custom: #1a408b;
$custom-light: #6a74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a408b",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 219.823,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.13252,
    "h": 262
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#1A408B
secondary
#BD9444
accent
#B13CEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A408B

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

Preview Lab → · Contrast checker → · Palette generator →

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