#1A407C#1A407C

#1A407C is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.111 H 259.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#1A407C
RGBrgb(26, 64, 124)
HSLhsl(217, 65%, 29%)
HSVhsv(217, 79%, 49%)
CMYKcmyk(79%, 48.4%, 0%, 51.4%)
CIE-LABlab(27.68, 9.63, -37.96)
CIE-LCHlch(27.68, 39.16, 284.24°)
OKLaboklab(37.96% -0.0205 -0.1089)
OKLCHoklch(37.96% 0.111 259.3)
XYZxyz(5.8962, 5.3410, 19.7850)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A407C #7C561A
analogous
#1A717C #1A407C #251A7C
triadic
#1A407C #7C1A40 #407C1A
tetradic
#1A407C #7C1A71 #7C561A #1A7C25
square
#1A407C #7C1A71 #7C561A #1A7C25
split-complementary
#1A407C #7C251A #717C1A
monochromatic
#050D19 #0F2649 #1A407C #255AAF #3B77D6

Accessibility & contrast

On white

10.15
#1A407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1A407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A407C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A407C#FFFFFF#000000##FFFFFF
##1A407C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#063D7B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a407c;
/* rgb */ color: rgb(26, 64, 124);
/* oklch */ color: oklch(38.0% 0.111 259.3);
Tailwind
colors: {
  custom: {
    50: '#6674a2',
    500: '#1a407c',
    950: '#000000',
  },
}
SCSS
$custom: #1a407c;
$custom-light: #6674a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a407c",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 216.735,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.11085,
    "h": 259.3
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#1A407C
secondary
#B08542
accent
#A740E8
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A407C

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

Preview Lab → · Contrast checker → · Palette generator →

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