#1B4A98#1B4A98

#1B4A98 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.138 H 260.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#1B4A98
RGBrgb(27, 74, 152)
HSLhsl(217, 70%, 35%)
HSVhsv(217, 82%, 60%)
CMYKcmyk(82.2%, 51.3%, 0%, 40.4%)
CIE-LABlab(32.69, 14.29, -47.16)
CIE-LCHlch(32.69, 49.28, 286.86°)
OKLaboklab(42.44% -0.0237 -0.1358)
OKLCHoklch(42.44% 0.138 260.1)
XYZxyz(8.5662, 7.3965, 30.6759)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A98 #98691B
analogous
#1B8898 #1B4A98 #2B1B98
triadic
#1B4A98 #981B4A #4A981B
tetradic
#1B4A98 #981B88 #98691B #1B982B
square
#1B4A98 #981B88 #98691B #1B982B
split-complementary
#1B4A98 #982B1B #88981B
monochromatic
#091730 #123164 #1B4A98 #2463CC #4E85E0

Accessibility & contrast

On white

8.47
#1B4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1B4A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A98
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A98#FFFFFF#000000##FFFFFF
##1B4A981.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4a98;
/* rgb */ color: rgb(27, 74, 152);
/* oklch */ color: oklch(42.4% 0.138 260.1);
Tailwind
colors: {
  custom: {
    50: '#6d7bb7',
    500: '#1b4a98',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a98;
$custom-light: #6d7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a98",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 152
  },
  "hsl": {
    "h": 217.44,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.13783,
    "h": 260.1
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#1B4A98
secondary
#C2964D
accent
#AA3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1B4A98

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

Preview Lab → · Contrast checker → · Palette generator →

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