#1A408C#1A408C

#1A408C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.134 H 262.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#1A408C
RGBrgb(26, 64, 140)
HSLhsl(220, 69%, 33%)
HSVhsv(220, 81%, 55%)
CMYKcmyk(81.4%, 54.3%, 0%, 45.1%)
CIE-LABlab(28.85, 16.19, -46.04)
CIE-LCHlch(28.85, 48.80, 289.37°)
OKLaboklab(39.22% -0.0182 -0.1327)
OKLCHoklch(39.22% 0.134 262.2)
XYZxyz(6.9913, 5.7790, 25.5529)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A408C #8C661A
analogous
#1A798C #1A408C #2D1A8C
triadic
#1A408C #8C1A40 #408C1A
tetradic
#1A408C #8C1A79 #8C661A #1A8C2D
square
#1A408C #8C1A79 #8C661A #1A8C2D
split-complementary
#1A408C #8C2D1A #798C1A
monochromatic
#071125 #102858 #1A408C #2458C0 #4477DC

Accessibility & contrast

On white

9.74
#1A408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A408C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A408C#FFFFFF#000000##FFFFFF
##1A408C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06498F
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a408c;
/* rgb */ color: rgb(26, 64, 140);
/* oklch */ color: oklch(39.2% 0.134 262.2);
Tailwind
colors: {
  custom: {
    50: '#6a74ae',
    500: '#1a408c',
    950: '#000000',
  },
}
SCSS
$custom: #1a408c;
$custom-light: #6a74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a408c",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 220,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3922,
    "c": 0.13395,
    "h": 262.2
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#1A408C
secondary
#BE9544
accent
#B13CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A408C

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

Preview Lab → · Contrast checker → · Palette generator →

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