#1A4F9D#1A4F9D

#1A4F9D is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.139 H 258.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#1A4F9D
RGBrgb(26, 79, 157)
HSLhsl(216, 72%, 36%)
HSVhsv(216, 83%, 62%)
CMYKcmyk(83.4%, 49.7%, 0%, 38.4%)
CIE-LABlab(34.49, 12.83, -47.29)
CIE-LCHlch(34.49, 48.99, 285.18°)
OKLaboklab(43.92% -0.0274 -0.1361)
OKLCHoklch(43.92% 0.139 258.6)
XYZxyz(9.3056, 8.2448, 32.9927)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F9D #9D681A
analogous
#1A909D #1A4F9D #261A9D
triadic
#1A4F9D #9D1A4F #4F9D1A
tetradic
#1A4F9D #9D1A90 #9D681A #1A9D26
square
#1A4F9D #9D1A90 #9D681A #1A9D26
split-complementary
#1A4F9D #9D261A #909D1A
monochromatic
#091A34 #113568 #1A4F9D #2369D2 #4F8BE2

Accessibility & contrast

On white

7.93
#1A4F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1A4F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F9D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F9D#FFFFFF#000000##FFFFFF
##1A4F9D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2057A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1a4f9d;
/* rgb */ color: rgb(26, 79, 157);
/* oklch */ color: oklch(43.9% 0.139 258.6);
Tailwind
colors: {
  custom: {
    50: '#6e7fba',
    500: '#1a4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f9d;
$custom-light: #6e7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f9d",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 215.725,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.13878,
    "h": 258.6
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#1A4F9D
secondary
#C4954E
accent
#A539EE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1A4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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