#1B4ED2#1B4ED2

#1B4ED2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.2% C 0.210 H 263.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#1B4ED2
RGBrgb(27, 78, 210)
HSLhsl(223, 77%, 46%)
HSVhsv(223, 87%, 82%)
CMYKcmyk(87.1%, 62.9%, 0%, 17.6%)
CIE-LABlab(38.43, 34.40, -72.07)
CIE-LCHlch(38.43, 79.86, 295.51°)
OKLaboklab(48.22% -0.0223 -0.2088)
OKLCHoklch(48.22% 0.21 263.9)
XYZxyz(14.8051, 10.3330, 62.1744)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4ED2 #D29F1B
analogous
#1BAAD2 #1B4ED2 #441BD2
triadic
#1B4ED2 #D21B4E #4ED21B
tetradic
#1B4ED2 #D21BAA #D29F1B #1BD244
square
#1B4ED2 #D21BAA #D29F1B #1BD244
split-complementary
#1B4ED2 #D2441B #AAD21B
monochromatic
#0D2666 #143A9C #1B4ED2 #4371E7 #7A9AEE

Accessibility & contrast

On white

6.85
#1B4ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#1B4ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B4ED2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4ED2#FFFFFF#000000##FFFFFF
##1B4ED21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4ed2;
/* rgb */ color: rgb(27, 78, 210);
/* oklch */ color: oklch(48.2% 0.210 263.9);
Tailwind
colors: {
  custom: {
    50: '#7c7fe1',
    500: '#1b4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #1b4ed2;
$custom-light: #7c7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4ed2",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 223.279,
    "s": 77.215,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.21003,
    "h": 263.9
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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