#1B4B98#1B4B98

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

Color values

HEX#1B4B98
RGBrgb(27, 75, 152)
HSLhsl(217, 70%, 35%)
HSVhsv(217, 82%, 60%)
CMYKcmyk(82.2%, 50.7%, 0%, 40.4%)
CIE-LABlab(32.99, 13.61, -46.68)
CIE-LCHlch(32.99, 48.63, 286.25°)
OKLaboklab(42.67% -0.0245 -0.1344)
OKLCHoklch(42.67% 0.137 259.7)
XYZxyz(8.6335, 7.5311, 30.6983)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4B98 #98681B
analogous
#1B8998 #1B4B98 #2A1B98
triadic
#1B4B98 #981B4B #4B981B
tetradic
#1B4B98 #981B89 #98681B #1B982A
square
#1B4B98 #981B89 #98681B #1B982A
split-complementary
#1B4B98 #982A1B #89981B
monochromatic
#091830 #123164 #1B4B98 #2465CC #4E86E0

Accessibility & contrast

On white

8.38
#1B4B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1B4B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4B98
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4B98#FFFFFF#000000##FFFFFF
##1B4B981.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4b98;
/* rgb */ color: rgb(27, 75, 152);
/* oklch */ color: oklch(42.7% 0.137 259.7);
Tailwind
colors: {
  custom: {
    50: '#6d7cb7',
    500: '#1b4b98',
    950: '#000000',
  },
}
SCSS
$custom: #1b4b98;
$custom-light: #6d7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4b98",
  "rgb": {
    "r": 27,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 216.96,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.13657,
    "h": 259.7
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#1B4B98
secondary
#C2954D
accent
#A83BED
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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