#1A4D9E#1A4D9E

#1A4D9E is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.143 H 259.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#1A4D9E
RGBrgb(26, 77, 158)
HSLhsl(217, 72%, 36%)
HSVhsv(217, 84%, 62%)
CMYKcmyk(83.5%, 51.3%, 0%, 38%)
CIE-LABlab(33.97, 14.58, -48.72)
CIE-LCHlch(33.97, 50.86, 286.66°)
OKLaboklab(43.55% -0.0257 -0.1403)
OKLCHoklch(43.55% 0.143 259.6)
XYZxyz(9.2492, 7.9949, 33.3968)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D9E #9E6B1A
analogous
#1A8F9E #1A4D9E #291A9E
triadic
#1A4D9E #9E1A4D #4D9E1A
tetradic
#1A4D9E #9E1A8F #9E6B1A #1A9E29
square
#1A4D9E #9E1A8F #9E6B1A #1A9E29
split-complementary
#1A4D9E #9E291A #8F9E1A
monochromatic
#091A35 #113369 #1A4D9E #2367D3 #5089E2

Accessibility & contrast

On white

8.08
#1A4D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1A4D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4D9E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D9E#FFFFFF#000000##FFFFFF
##1A4D9E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1a4d9e;
/* rgb */ color: rgb(26, 77, 158);
/* oklch */ color: oklch(43.6% 0.143 259.6);
Tailwind
colors: {
  custom: {
    50: '#6e7ebb',
    500: '#1a4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d9e;
$custom-light: #6e7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d9e",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 216.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43551,
    "c": 0.14265,
    "h": 259.6
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#1A4D9E
secondary
#C5974F
accent
#A839EE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #1A4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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