#1A4E9E#1A4E9E

#1A4E9E is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.141 H 259.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#1A4E9E
RGBrgb(26, 78, 158)
HSLhsl(216, 72%, 36%)
HSVhsv(216, 84%, 62%)
CMYKcmyk(83.5%, 50.6%, 0%, 38%)
CIE-LABlab(34.26, 13.91, -48.25)
CIE-LCHlch(34.26, 50.21, 286.08°)
OKLaboklab(43.78% -0.0264 -0.1389)
OKLCHoklch(43.78% 0.141 259.2)
XYZxyz(9.3197, 8.1359, 33.4203)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E9E #9E6A1A
analogous
#1A909E #1A4E9E #281A9E
triadic
#1A4E9E #9E1A4E #4E9E1A
tetradic
#1A4E9E #9E1A90 #9E6A1A #1A9E28
square
#1A4E9E #9E1A90 #9E6A1A #1A9E28
split-complementary
#1A4E9E #9E281A #909E1A
monochromatic
#091A35 #113469 #1A4E9E #2368D3 #508AE2

Accessibility & contrast

On white

7.99
#1A4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A4E9E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E9E#FFFFFF#000000##FFFFFF
##1A4E9E1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1a4e9e;
/* rgb */ color: rgb(26, 78, 158);
/* oklch */ color: oklch(43.8% 0.141 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7ebb',
    500: '#1a4e9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e9e;
$custom-light: #6e7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e9e",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 158
  },
  "hsl": {
    "h": 216.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.14141,
    "h": 259.2
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#1A4E9E
secondary
#C5964F
accent
#A739EE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1A4E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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