#1A4A98#1A4A98

#1A4A98 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.138 H 259.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1A4A98
RGBrgb(26, 74, 152)
HSLhsl(217, 71%, 35%)
HSVhsv(217, 83%, 60%)
CMYKcmyk(82.9%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.66, 14.19, -47.21)
CIE-LCHlch(32.66, 49.29, 286.73°)
OKLaboklab(42.41% -0.0243 -0.1359)
OKLCHoklch(42.41% 0.138 259.9)
XYZxyz(8.5402, 7.3831, 30.6747)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4A98 #98681A
analogous
#1A8998 #1A4A98 #291A98
triadic
#1A4A98 #981A4A #4A981A
tetradic
#1A4A98 #981A89 #98681A #1A9829
square
#1A4A98 #981A89 #98681A #1A9829
split-complementary
#1A4A98 #98291A #89981A
monochromatic
#08172F #113164 #1A4A98 #2363CC #4C85E0

Accessibility & contrast

On white

8.48
#1A4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1A4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4A98
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4A98#FFFFFF#000000##FFFFFF
##1A4A981.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4a98;
/* rgb */ color: rgb(26, 74, 152);
/* oklch */ color: oklch(42.4% 0.138 259.9);
Tailwind
colors: {
  custom: {
    50: '#6d7bb7',
    500: '#1a4a98',
    950: '#000000',
  },
}
SCSS
$custom: #1a4a98;
$custom-light: #6d7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4a98",
  "rgb": {
    "r": 26,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 217.143,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.13808,
    "h": 259.9
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#1A4A98
secondary
#C2954B
accent
#A93AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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