#1A4E9F#1A4E9F

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

Color values

HEX#1A4E9F
RGBrgb(26, 78, 159)
HSLhsl(217, 72%, 36%)
HSVhsv(217, 84%, 62%)
CMYKcmyk(83.6%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.34, 14.31, -48.74)
CIE-LCHlch(34.34, 50.79, 286.37°)
OKLaboklab(43.85% -0.0263 -0.1403)
OKLCHoklch(43.85% 0.143 259.4)
XYZxyz(9.4061, 8.1704, 33.8755)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E9F #9F6B1A
analogous
#1A919F #1A4E9F #281A9F
triadic
#1A4E9F #9F1A4E #4E9F1A
tetradic
#1A4E9F #9F1A91 #9F6B1A #1A9F28
square
#1A4E9F #9F1A91 #9F6B1A #1A9F28
split-complementary
#1A4E9F #9F281A #919F1A
monochromatic
#091A36 #11346A #1A4E9F #2368D4 #518AE3

Accessibility & contrast

On white

7.97
#1A4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1A4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E9F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E9F#FFFFFF#000000##FFFFFF
##1A4E9F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a4e9f;
/* rgb */ color: rgb(26, 78, 159);
/* oklch */ color: oklch(43.9% 0.143 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7ebc',
    500: '#1a4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e9f;
$custom-light: #6e7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e9f",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 216.541,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43852,
    "c": 0.14278,
    "h": 259.4
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#1A4E9F
secondary
#C59750
accent
#A839EF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1A4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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