#4F81EA#4F81EA

#4F81EA is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.1% C 0.167 H 263.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F81EA
RGBrgb(79, 129, 234)
HSLhsl(221, 79%, 61%)
HSVhsv(221, 66%, 92%)
CMYKcmyk(66.2%, 44.9%, 0%, 8.2%)
CIE-LABlab(55.38, 16.57, -58.12)
CIE-LCHlch(55.38, 60.43, 285.91°)
OKLaboklab(62.09% -0.0198 -0.1662)
OKLCHoklch(62.09% 0.167 263.2)
XYZxyz(25.9208, 23.3008, 80.9574)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81EA #EAB84F
analogous
#4FCFEA #4F81EA #6B4FEA
triadic
#4F81EA #EA4F81 #81EA4F
tetradic
#4F81EA #EA4FCF #EAB84F #4FEA6B
square
#4F81EA #EA4FCF #EAB84F #4FEA6B
split-complementary
#4F81EA #EA6B4F #CFEA4F
monochromatic
#1445AA #1B5BE1 #4F81EA #86A8F1 #BCCFF7

Accessibility & contrast

On white

3.71
#4F81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4F81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81EA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81EA#FFFFFF#000000##000000
##4F81EA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f81ea;
/* rgb */ color: rgb(79, 129, 234);
/* oklch */ color: oklch(62.1% 0.167 263.2);
Tailwind
colors: {
  custom: {
    50: '#90a5f1',
    500: '#4f81ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f81ea;
$custom-light: #90a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81ea",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 220.645,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6209,
    "c": 0.16738,
    "h": 263.2
  },
  "luminance": 0.23303
}

Semantic roles & 50–950 ramp

primary
#4F81EA
secondary
#E7D5AD
accent
#980BDB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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