#1A4E97#1A4E97

#1A4E97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.2% C 0.132 H 257.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1A4E97
RGBrgb(26, 78, 151)
HSLhsl(215, 71%, 35%)
HSVhsv(215, 83%, 59%)
CMYKcmyk(82.8%, 48.3%, 0%, 40.8%)
CIE-LABlab(33.78, 11.07, -44.80)
CIE-LCHlch(33.78, 46.15, 283.88°)
OKLaboklab(43.25% -0.0276 -0.1288)
OKLCHoklch(43.25% 0.132 257.9)
XYZxyz(8.7342, 7.9017, 30.3370)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E97 #97631A
analogous
#1A8D97 #1A4E97 #251A97
triadic
#1A4E97 #971A4E #4E971A
tetradic
#1A4E97 #971A8D #97631A #1A9725
square
#1A4E97 #971A8D #97631A #1A9725
split-complementary
#1A4E97 #97251A #8D971A
monochromatic
#08182F #113363 #1A4E97 #2369CB #4B89E0

Accessibility & contrast

On white

8.14
#1A4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E97
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E97#FFFFFF#000000##FFFFFF
##1A4E971.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4e97;
/* rgb */ color: rgb(26, 78, 151);
/* oklch */ color: oklch(43.2% 0.132 257.9);
Tailwind
colors: {
  custom: {
    50: '#6c7eb6',
    500: '#1a4e97',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e97;
$custom-light: #6c7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e97",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 215.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43245,
    "c": 0.1317,
    "h": 257.9
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#1A4E97
secondary
#C2904B
accent
#A33AED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1A4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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