#1B4498#1B4498

#1B4498 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.145 H 262.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1B4498
RGBrgb(27, 68, 152)
HSLhsl(220, 70%, 35%)
HSVhsv(220, 82%, 60%)
CMYKcmyk(82.2%, 55.3%, 0%, 40.4%)
CIE-LABlab(30.96, 18.39, -49.97)
CIE-LCHlch(30.96, 53.25, 290.21°)
OKLaboklab(41.12% -0.0192 -0.1442)
OKLCHoklch(41.12% 0.145 262.4)
XYZxyz(8.1846, 6.6333, 30.5487)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4498 #986F1B
analogous
#1B8298 #1B4498 #311B98
triadic
#1B4498 #981B44 #44981B
tetradic
#1B4498 #981B82 #986F1B #1B9831
square
#1B4498 #981B82 #986F1B #1B9831
split-complementary
#1B4498 #98311B #82981B
monochromatic
#091630 #122D64 #1B4498 #245BCC #4E7EE0

Accessibility & contrast

On white

9.03
#1B4498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1B4498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4498
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4498#FFFFFF#000000##FFFFFF
##1B44981.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4498;
/* rgb */ color: rgb(27, 68, 152);
/* oklch */ color: oklch(41.1% 0.145 262.4);
Tailwind
colors: {
  custom: {
    50: '#6d77b7',
    500: '#1b4498',
    950: '#000000',
  },
}
SCSS
$custom: #1b4498;
$custom-light: #6d77b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4498",
  "rgb": {
    "r": 27,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 220.32,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41121,
    "c": 0.14545,
    "h": 262.4
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#1B4498
secondary
#C29C4D
accent
#B23BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4498

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

Preview Lab → · Contrast checker → · Palette generator →

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