#4B81DF#4B81DF

#4B81DF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.154 H 260.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4B81DF
RGBrgb(75, 129, 223)
HSLhsl(218, 70%, 58%)
HSVhsv(218, 66%, 87%)
CMYKcmyk(66.4%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.58, 12.11, -53.26)
CIE-LCHlch(54.58, 54.62, 282.81°)
OKLaboklab(61.22% -0.0249 -0.152)
OKLCHoklch(61.22% 0.154 260.7)
XYZxyz(24.0665, 22.5217, 72.8765)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B81DF #DFA94B
analogous
#4BCBDF #4B81DF #5F4BDF
triadic
#4B81DF #DF4B81 #81DF4B
tetradic
#4B81DF #DF4BCB #DFA94B #4BDF5F
square
#4B81DF #DF4BCB #DFA94B #4BDF5F
split-complementary
#4B81DF #DF5F4B #CBDF4B
monochromatic
#1B4795 #2460C9 #4B81DF #7FA5E8 #B3CAF1

Accessibility & contrast

On white

3.81
#4B81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4B81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B81DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B81DF#FFFFFF#000000##000000
##4B81DF1.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#3D7CDD
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4b81df;
/* rgb */ color: rgb(75, 129, 223);
/* oklch */ color: oklch(61.2% 0.154 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ca5e9',
    500: '#4b81df',
    950: '#000000',
  },
}
SCSS
$custom: #4b81df;
$custom-light: #8ca5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b81df",
  "rgb": {
    "r": 75,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 218.108,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.15405,
    "h": 260.7
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#4B81DF
secondary
#E0CBA6
accent
#AC3BED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4B81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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