#1B498D#1B498D

#1B498D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.124 H 258.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#1B498D
RGBrgb(27, 73, 141)
HSLhsl(216, 68%, 33%)
HSVhsv(216, 81%, 55%)
CMYKcmyk(80.9%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.62, 10.51, -42.17)
CIE-LCHlch(31.62, 43.46, 284.00°)
OKLaboklab(41.38% -0.0246 -0.1211)
OKLCHoklch(41.38% 0.124 258.5)
XYZxyz(7.6405, 6.9203, 26.1272)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B498D #8D5F1B
analogous
#1B828D #1B498D #261B8D
triadic
#1B498D #8D1B49 #498D1B
tetradic
#1B498D #8D1B82 #8D5F1B #1B8D26
square
#1B498D #8D1B82 #8D5F1B #1B8D26
split-complementary
#1B498D #8D261B #828D1B
monochromatic
#071426 #112E5A #1B498D #2564C0 #4783DC

Accessibility & contrast

On white

8.81
#1B498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B498D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B498D#FFFFFF#000000##FFFFFF
##1B498D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#02468C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b498d;
/* rgb */ color: rgb(27, 73, 141);
/* oklch */ color: oklch(41.4% 0.124 258.5);
Tailwind
colors: {
  custom: {
    50: '#6a7baf',
    500: '#1b498d',
    950: '#000000',
  },
}
SCSS
$custom: #1b498d;
$custom-light: #6a7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b498d",
  "rgb": {
    "r": 27,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 215.789,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41377,
    "c": 0.1236,
    "h": 258.5
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#1B498D
secondary
#BD8D46
accent
#A53DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1B498D

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

Preview Lab → · Contrast checker → · Palette generator →

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