#1A407D#1A407D

#1A407D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.112 H 259.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#1A407D
RGBrgb(26, 64, 125)
HSLhsl(217, 66%, 30%)
HSVhsv(217, 79%, 49%)
CMYKcmyk(79.2%, 48.8%, 0%, 51%)
CIE-LABlab(27.75, 10.04, -38.48)
CIE-LCHlch(27.75, 39.77, 284.63°)
OKLaboklab(38.04% -0.0203 -0.1104)
OKLCHoklch(38.04% 0.112 259.6)
XYZxyz(5.9597, 5.3664, 20.1198)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A407D #7D571A
analogous
#1A727D #1A407D #261A7D
triadic
#1A407D #7D1A40 #407D1A
tetradic
#1A407D #7D1A72 #7D571A #1A7D26
square
#1A407D #7D1A72 #7D571A #1A7D26
split-complementary
#1A407D #7D261A #727D1A
monochromatic
#050D19 #0F264A #1A407D #255AB0 #3B77D6

Accessibility & contrast

On white

10.13
#1A407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A407D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A407D#FFFFFF#000000##FFFFFF
##1A407D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#043D7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a407d;
/* rgb */ color: rgb(26, 64, 125);
/* oklch */ color: oklch(38.0% 0.112 259.6);
Tailwind
colors: {
  custom: {
    50: '#6674a3',
    500: '#1a407d',
    950: '#000000',
  },
}
SCSS
$custom: #1a407d;
$custom-light: #6674a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a407d",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 216.97,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38035,
    "c": 0.11231,
    "h": 259.6
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#1A407D
secondary
#B18642
accent
#A83FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A407D

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

Preview Lab → · Contrast checker → · Palette generator →

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