#4B81DC#4B81DC

#4B81DC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.150 H 260.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4B81DC
RGBrgb(75, 129, 220)
HSLhsl(218, 67%, 58%)
HSVhsv(218, 66%, 86%)
CMYKcmyk(65.9%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.41, 11.07, -51.85)
CIE-LCHlch(54.41, 53.02, 282.05°)
OKLaboklab(61.04% -0.0255 -0.1479)
OKLCHoklch(61.04% 0.15 260.2)
XYZxyz(23.6656, 22.3614, 70.7653)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B81DC #DCA64B
analogous
#4BCADC #4B81DC #5D4BDC
triadic
#4B81DC #DC4B81 #81DC4B
tetradic
#4B81DC #DC4BCA #DCA64B #4BDC5D
square
#4B81DC #DC4BCA #DCA64B #4BDC5D
split-complementary
#4B81DC #DC5D4B #CADC4B
monochromatic
#1C4791 #2661C4 #4B81DC #7EA5E6 #B1C9F0

Accessibility & contrast

On white

3.84
#4B81DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4B81DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B81DC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B81DC#FFFFFF#000000##000000
##4B81DC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789E0
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4b81dc;
/* rgb */ color: rgb(75, 129, 220);
/* oklch */ color: oklch(61.0% 0.150 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ca5e7',
    500: '#4b81dc',
    950: '#000000',
  },
}
SCSS
$custom: #4b81dc;
$custom-light: #8ca5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b81dc",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 217.655,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61035,
    "c": 0.15005,
    "h": 260.2
  },
  "luminance": 0.22364
}

Semantic roles & 50–950 ramp

primary
#4B81DC
secondary
#DEC9A4
accent
#AA3DEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4B81DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4B81DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva