#1B4DD2#1B4DD2

#1B4DD2 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.0% C 0.211 H 264.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#1B4DD2
RGBrgb(27, 77, 210)
HSLhsl(224, 77%, 46%)
HSVhsv(224, 87%, 82%)
CMYKcmyk(87.1%, 63.3%, 0%, 17.6%)
CIE-LABlab(38.18, 35.04, -72.48)
CIE-LCHlch(38.18, 80.51, 295.80°)
OKLaboklab(48.03% -0.0219 -0.21)
OKLCHoklch(48.03% 0.211 264)
XYZxyz(14.7346, 10.1920, 62.1509)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4DD2 #D2A01B
analogous
#1BA9D2 #1B4DD2 #451BD2
triadic
#1B4DD2 #D21B4D #4DD21B
tetradic
#1B4DD2 #D21BA9 #D2A01B #1BD245
square
#1B4DD2 #D21BA9 #D2A01B #1BD245
split-complementary
#1B4DD2 #D2451B #A9D21B
monochromatic
#0D2566 #14399C #1B4DD2 #4370E7 #7A99EE

Accessibility & contrast

On white

6.91
#1B4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#1B4DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B4DD2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4DD2#FFFFFF#000000##FFFFFF
##1B4DD21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1b4dd2;
/* rgb */ color: rgb(27, 77, 210);
/* oklch */ color: oklch(48.0% 0.211 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c7ee1',
    500: '#1b4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #1b4dd2;
$custom-light: #7c7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4dd2",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 223.607,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48032,
    "c": 0.21118,
    "h": 264
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#1B4DD2
secondary
#D5BB73
accent
#BF34F4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #1B4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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