#1B4FD2#1B4FD2

#1B4FD2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.4% C 0.209 H 263.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#1B4FD2
RGBrgb(27, 79, 210)
HSLhsl(223, 77%, 46%)
HSVhsv(223, 87%, 82%)
CMYKcmyk(87.1%, 62.4%, 0%, 17.6%)
CIE-LABlab(38.68, 33.75, -71.66)
CIE-LCHlch(38.68, 79.22, 295.22°)
OKLaboklab(48.4% -0.0228 -0.2076)
OKLCHoklch(48.4% 0.209 263.7)
XYZxyz(14.8767, 10.4762, 62.1983)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4FD2 #D29E1B
analogous
#1BABD2 #1B4FD2 #431BD2
triadic
#1B4FD2 #D21B4F #4FD21B
tetradic
#1B4FD2 #D21BAB #D29E1B #1BD243
square
#1B4FD2 #D21BAB #D29E1B #1BD243
split-complementary
#1B4FD2 #D2431B #ABD21B
monochromatic
#0D2666 #143B9C #1B4FD2 #4372E7 #7A9BEE

Accessibility & contrast

On white

6.78
#1B4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#1B4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B4FD2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4FD2#FFFFFF#000000##FFFFFF
##1B4FD21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0053D0
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b4fd2;
/* rgb */ color: rgb(27, 79, 210);
/* oklch */ color: oklch(48.4% 0.209 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fe1',
    500: '#1b4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #1b4fd2;
$custom-light: #7c7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4fd2",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 222.951,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.20888,
    "h": 263.7
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#1B4FD2
secondary
#D5BA73
accent
#BD34F4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #1B4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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