#1B4898#1B4898

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

Color values

HEX#1B4898
RGBrgb(27, 72, 152)
HSLhsl(218, 70%, 35%)
HSVhsv(218, 82%, 60%)
CMYKcmyk(82.2%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.11, 15.65, -48.10)
CIE-LCHlch(32.11, 50.59, 288.03°)
OKLaboklab(42% -0.0222 -0.1386)
OKLCHoklch(42% 0.14 260.9)
XYZxyz(8.4348, 7.1337, 30.6321)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4898 #986B1B
analogous
#1B8698 #1B4898 #2D1B98
triadic
#1B4898 #981B48 #48981B
tetradic
#1B4898 #981B86 #986B1B #1B982D
square
#1B4898 #981B86 #986B1B #1B982D
split-complementary
#1B4898 #982D1B #86981B
monochromatic
#091730 #122F64 #1B4898 #2461CC #4E82E0

Accessibility & contrast

On white

8.65
#1B4898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1B4898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4898
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4898#FFFFFF#000000##FFFFFF
##1B48981.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4898;
/* rgb */ color: rgb(27, 72, 152);
/* oklch */ color: oklch(42.0% 0.140 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7ab7',
    500: '#1b4898',
    950: '#000000',
  },
}
SCSS
$custom: #1b4898;
$custom-light: #6d7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4898",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 218.4,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.14035,
    "h": 260.9
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#1B4898
secondary
#C2984D
accent
#AD3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4898

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

Preview Lab → · Contrast checker → · Palette generator →

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