#1A4D98#1A4D98

#1A4D98 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.134 H 258.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1A4D98
RGBrgb(26, 77, 152)
HSLhsl(216, 71%, 35%)
HSVhsv(216, 83%, 60%)
CMYKcmyk(82.9%, 49.3%, 0%, 40.4%)
CIE-LABlab(33.55, 12.15, -45.78)
CIE-LCHlch(33.55, 47.36, 284.87°)
OKLaboklab(43.09% -0.0266 -0.1317)
OKLCHoklch(43.09% 0.134 258.6)
XYZxyz(8.7453, 7.7933, 30.7430)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4D98 #98651A
analogous
#1A8C98 #1A4D98 #261A98
triadic
#1A4D98 #981A4D #4D981A
tetradic
#1A4D98 #981A8C #98651A #1A9826
square
#1A4D98 #981A8C #98651A #1A9826
split-complementary
#1A4D98 #98261A #8C981A
monochromatic
#08182F #113364 #1A4D98 #2367CC #4C88E0

Accessibility & contrast

On white

8.21
#1A4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1A4D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4D98
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4D98#FFFFFF#000000##FFFFFF
##1A4D981.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4d98;
/* rgb */ color: rgb(26, 77, 152);
/* oklch */ color: oklch(43.1% 0.134 258.6);
Tailwind
colors: {
  custom: {
    50: '#6d7eb7',
    500: '#1a4d98',
    950: '#000000',
  },
}
SCSS
$custom: #1a4d98;
$custom-light: #6d7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4d98",
  "rgb": {
    "r": 26,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 215.714,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.13432,
    "h": 258.6
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#1A4D98
secondary
#C2924B
accent
#A53AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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