#1A4998#1A4998

#1A4998 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.139 H 260.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1A4998
RGBrgb(26, 73, 152)
HSLhsl(218, 71%, 35%)
HSVhsv(218, 83%, 60%)
CMYKcmyk(82.9%, 52%, 0%, 40.4%)
CIE-LABlab(32.37, 14.87, -47.68)
CIE-LCHlch(32.37, 49.95, 287.32°)
OKLaboklab(42.19% -0.0235 -0.1373)
OKLCHoklch(42.19% 0.139 260.3)
XYZxyz(8.4740, 7.2507, 30.6526)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4998 #98691A
analogous
#1A8898 #1A4998 #2A1A98
triadic
#1A4998 #981A49 #49981A
tetradic
#1A4998 #981A88 #98691A #1A982A
square
#1A4998 #981A88 #98691A #1A982A
split-complementary
#1A4998 #982A1A #88981A
monochromatic
#08172F #113064 #1A4998 #2362CC #4C83E0

Accessibility & contrast

On white

8.57
#1A4998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1A4998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4998
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4998#FFFFFF#000000##FFFFFF
##1A49981.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4998;
/* rgb */ color: rgb(26, 73, 152);
/* oklch */ color: oklch(42.2% 0.139 260.3);
Tailwind
colors: {
  custom: {
    50: '#6d7bb7',
    500: '#1a4998',
    950: '#000000',
  },
}
SCSS
$custom: #1a4998;
$custom-light: #6d7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4998",
  "rgb": {
    "r": 26,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 217.619,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.13935,
    "h": 260.3
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#1A4998
secondary
#C2964B
accent
#AB3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4998

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

Preview Lab → · Contrast checker → · Palette generator →

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