#1A407B#1A407B

#1A407B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.109 H 259.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#1A407B
RGBrgb(26, 64, 123)
HSLhsl(216, 65%, 29%)
HSVhsv(216, 79%, 48%)
CMYKcmyk(78.9%, 48%, 0%, 51.8%)
CIE-LABlab(27.62, 9.22, -37.44)
CIE-LCHlch(27.62, 38.56, 283.84°)
OKLaboklab(37.88% -0.0207 -0.1074)
OKLCHoklch(37.88% 0.109 259.1)
XYZxyz(5.8332, 5.3158, 19.4537)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A407B #7B551A
analogous
#1A717B #1A407B #251A7B
triadic
#1A407B #7B1A40 #407B1A
tetradic
#1A407B #7B1A71 #7B551A #1A7B25
square
#1A407B #7B1A71 #7B551A #1A7B25
split-complementary
#1A407B #7B251A #717B1A
monochromatic
#050D19 #0F2648 #1A407B #255AAE #3A77D5

Accessibility & contrast

On white

10.18
#1A407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1A407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A407B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A407B#FFFFFF#000000##FFFFFF
##1A407B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#093D7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a407b;
/* rgb */ color: rgb(26, 64, 123);
/* oklch */ color: oklch(37.9% 0.109 259.1);
Tailwind
colors: {
  custom: {
    50: '#6674a2',
    500: '#1a407b',
    950: '#000000',
  },
}
SCSS
$custom: #1a407b;
$custom-light: #6674a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a407b",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 216.495,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37884,
    "c": 0.10939,
    "h": 259.1
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#1A407B
secondary
#AF8442
accent
#A640E8
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A407B

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

Preview Lab → · Contrast checker → · Palette generator →

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