#4F81DF#4F81DF

#4F81DF is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.153 H 261.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4F81DF
RGBrgb(79, 129, 223)
HSLhsl(219, 69%, 59%)
HSVhsv(219, 65%, 87%)
CMYKcmyk(64.6%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.75, 12.77, -52.98)
CIE-LCHlch(54.75, 54.49, 283.56°)
OKLaboklab(61.4% -0.0217 -0.1511)
OKLCHoklch(61.4% 0.153 261.8)
XYZxyz(24.3893, 22.6882, 72.8917)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81DF #DFAD4F
analogous
#4FC9DF #4F81DF #654FDF
triadic
#4F81DF #DF4F81 #81DF4F
tetradic
#4F81DF #DF4FC9 #DFAD4F #4FDF65
square
#4F81DF #DF4FC9 #DFAD4F #4FDF65
split-complementary
#4F81DF #DF654F #C9DF4F
monochromatic
#1C4798 #255FCC #4F81DF #83A6E8 #B7CBF2

Accessibility & contrast

On white

3.79
#4F81DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4F81DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81DF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81DF#FFFFFF#000000##000000
##4F81DF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f81df;
/* rgb */ color: rgb(79, 129, 223);
/* oklch */ color: oklch(61.4% 0.153 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ea5e9',
    500: '#4f81df',
    950: '#000000',
  },
}
SCSS
$custom: #4f81df;
$custom-light: #8ea5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81df",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 219.167,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.15266,
    "h": 261.8
  },
  "luminance": 0.2269
}

Semantic roles & 50–950 ramp

primary
#4F81DF
secondary
#E1CEA9
accent
#AF3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F81DF

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

Preview Lab → · Contrast checker → · Palette generator →

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