#1A4F9F#1A4F9F

#1A4F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.142 H 259.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#1A4F9F
RGBrgb(26, 79, 159)
HSLhsl(216, 72%, 36%)
HSVhsv(216, 84%, 62%)
CMYKcmyk(83.6%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.63, 13.64, -48.26)
CIE-LCHlch(34.63, 50.15, 285.78°)
OKLaboklab(44.08% -0.027 -0.1389)
OKLCHoklch(44.08% 0.142 259)
XYZxyz(9.4777, 8.3136, 33.8993)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F9F #9F6A1A
analogous
#1A929F #1A4F9F #271A9F
triadic
#1A4F9F #9F1A4F #4F9F1A
tetradic
#1A4F9F #9F1A92 #9F6A1A #1A9F27
square
#1A4F9F #9F1A92 #9F6A1A #1A9F27
split-complementary
#1A4F9F #9F271A #929F1A
monochromatic
#091B36 #11356A #1A4F9F #2369D4 #518BE3

Accessibility & contrast

On white

7.89
#1A4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1A4F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F9F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F9F#FFFFFF#000000##FFFFFF
##1A4F9F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1a4f9f;
/* rgb */ color: rgb(26, 79, 159);
/* oklch */ color: oklch(44.1% 0.142 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fbc',
    500: '#1a4f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f9f;
$custom-light: #6e7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f9f",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 216.09,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.14154,
    "h": 259
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#1A4F9F
secondary
#C59650
accent
#A639EF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1A4F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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