#1A4C98#1A4C98

#1A4C98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.136 H 259.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#1A4C98
RGBrgb(26, 76, 152)
HSLhsl(216, 71%, 35%)
HSVhsv(216, 83%, 60%)
CMYKcmyk(82.9%, 50%, 0%, 40.4%)
CIE-LABlab(33.25, 12.83, -46.26)
CIE-LCHlch(33.25, 48.00, 285.50°)
OKLaboklab(42.86% -0.0258 -0.1331)
OKLCHoklch(42.86% 0.136 259)
XYZxyz(8.6759, 7.6544, 30.7199)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C98 #98661A
analogous
#1A8B98 #1A4C98 #271A98
triadic
#1A4C98 #981A4C #4C981A
tetradic
#1A4C98 #981A8B #98661A #1A9827
square
#1A4C98 #981A8B #98661A #1A9827
split-complementary
#1A4C98 #98271A #8B981A
monochromatic
#08182F #113264 #1A4C98 #2366CC #4C87E0

Accessibility & contrast

On white

8.30
#1A4C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1A4C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C98
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C98#FFFFFF#000000##FFFFFF
##1A4C981.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a4c98;
/* rgb */ color: rgb(26, 76, 152);
/* oklch */ color: oklch(42.9% 0.136 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7db7',
    500: '#1a4c98',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c98;
$custom-light: #6d7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c98",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 216.19,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.13557,
    "h": 259
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#1A4C98
secondary
#C2934B
accent
#A63AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4C98

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

Preview Lab → · Contrast checker → · Palette generator →

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