#1B4FB4#1B4FB4

#1B4FB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.170 H 261.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#1B4FB4
RGBrgb(27, 79, 180)
HSLhsl(220, 74%, 41%)
HSVhsv(220, 85%, 71%)
CMYKcmyk(85%, 56.1%, 0%, 29.4%)
CIE-LABlab(36.21, 22.13, -58.21)
CIE-LCHlch(36.21, 62.27, 290.81°)
OKLaboklab(45.78% -0.0241 -0.1682)
OKLCHoklch(45.78% 0.17 261.9)
XYZxyz(11.4832, 9.1188, 44.3260)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4FB4 #B4801B
analogous
#1B9BB4 #1B4FB4 #341BB4
triadic
#1B4FB4 #B41B4F #4FB41B
tetradic
#1B4FB4 #B41B9B #B4801B #1BB434
square
#1B4FB4 #B41B9B #B4801B #1BB434
split-complementary
#1B4FB4 #B4341B #9BB41B
monochromatic
#0B204A #13387F #1B4FB4 #2D69DF #628FE7

Accessibility & contrast

On white

7.44
#1B4FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1B4FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4FB4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4FB4#FFFFFF#000000##FFFFFF
##1B4FB41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1b4fb4;
/* rgb */ color: rgb(27, 79, 180);
/* oklch */ color: oklch(45.8% 0.170 261.9);
Tailwind
colors: {
  custom: {
    50: '#747fcb',
    500: '#1b4fb4',
    950: '#000000',
  },
}
SCSS
$custom: #1b4fb4;
$custom-light: #747fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4fb4",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 219.608,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.16989,
    "h": 261.9
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#1B4FB4
secondary
#CCA75F
accent
#B237F1
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1B4FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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