#1A4898#1A4898

#1A4898 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.141 H 260.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1A4898
RGBrgb(26, 72, 152)
HSLhsl(218, 71%, 35%)
HSVhsv(218, 83%, 60%)
CMYKcmyk(82.9%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.08, 15.56, -48.15)
CIE-LCHlch(32.08, 50.60, 287.90°)
OKLaboklab(41.97% -0.0228 -0.1388)
OKLCHoklch(41.97% 0.141 260.7)
XYZxyz(8.4088, 7.1203, 30.6309)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4898 #986A1A
analogous
#1A8798 #1A4898 #2B1A98
triadic
#1A4898 #981A48 #48981A
tetradic
#1A4898 #981A87 #986A1A #1A982B
square
#1A4898 #981A87 #986A1A #1A982B
split-complementary
#1A4898 #982B1A #87981A
monochromatic
#08162F #112F64 #1A4898 #2361CC #4C82E0

Accessibility & contrast

On white

8.66
#1A4898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1A4898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4898
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4898#FFFFFF#000000##FFFFFF
##1A48981.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4898;
/* rgb */ color: rgb(26, 72, 152);
/* oklch */ color: oklch(42.0% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#6d7ab7',
    500: '#1a4898',
    950: '#000000',
  },
}
SCSS
$custom: #1a4898;
$custom-light: #6d7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4898",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 218.095,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.14062,
    "h": 260.7
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#1A4898
secondary
#C2974B
accent
#AC3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4898

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

Preview Lab → · Contrast checker → · Palette generator →

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