#1A4B98#1A4B98

#1A4B98 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.137 H 259.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1A4B98
RGBrgb(26, 75, 152)
HSLhsl(217, 71%, 35%)
HSVhsv(217, 83%, 60%)
CMYKcmyk(82.9%, 50.7%, 0%, 40.4%)
CIE-LABlab(32.96, 13.51, -46.73)
CIE-LCHlch(32.96, 48.65, 286.12°)
OKLaboklab(42.64% -0.0251 -0.1345)
OKLCHoklch(42.64% 0.137 259.4)
XYZxyz(8.6075, 7.5177, 30.6971)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4B98 #98671A
analogous
#1A8A98 #1A4B98 #281A98
triadic
#1A4B98 #981A4B #4B981A
tetradic
#1A4B98 #981A8A #98671A #1A9828
square
#1A4B98 #981A8A #98671A #1A9828
split-complementary
#1A4B98 #98281A #8A981A
monochromatic
#08172F #113164 #1A4B98 #2365CC #4C86E0

Accessibility & contrast

On white

8.39
#1A4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1A4B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4B98
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4B98#FFFFFF#000000##FFFFFF
##1A4B981.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1a4b98;
/* rgb */ color: rgb(26, 75, 152);
/* oklch */ color: oklch(42.6% 0.137 259.4);
Tailwind
colors: {
  custom: {
    50: '#6d7cb7',
    500: '#1a4b98',
    950: '#000000',
  },
}
SCSS
$custom: #1a4b98;
$custom-light: #6d7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4b98",
  "rgb": {
    "r": 26,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 216.667,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.13682,
    "h": 259.4
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#1A4B98
secondary
#C2944B
accent
#A83AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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