#4F81F2#4F81F2

#4F81F2 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.178 H 264.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4F81F2
RGBrgb(79, 129, 242)
HSLhsl(222, 86%, 63%)
HSVhsv(222, 67%, 95%)
CMYKcmyk(67.4%, 46.7%, 0%, 5.1%)
CIE-LABlab(55.86, 19.34, -61.80)
CIE-LCHlch(55.86, 64.76, 287.38°)
OKLaboklab(62.61% -0.0186 -0.1771)
OKLCHoklch(62.61% 0.178 264)
XYZxyz(27.0961, 23.7709, 87.1474)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F81F2 #F2C04F
analogous
#4FD2F2 #4F81F2 #6E4FF2
triadic
#4F81F2 #F24F81 #81F24F
tetradic
#4F81F2 #F24FD2 #F2C04F #4FF26E
square
#4F81F2 #F24FD2 #F2C04F #4FF26E
split-complementary
#4F81F2 #F26E4F #D2F24F
monochromatic
#0E42B9 #1658EE #4F81F2 #88AAF6 #C1D3FA

Accessibility & contrast

On white

3.65
#4F81F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#4F81F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F81F2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F81F2#FFFFFF#000000##000000
##4F81F21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#217FF0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f81f2;
/* rgb */ color: rgb(79, 129, 242);
/* oklch */ color: oklch(62.6% 0.178 264.0);
Tailwind
colors: {
  custom: {
    50: '#91a5f7',
    500: '#4f81f2',
    950: '#000000',
  },
}
SCSS
$custom: #4f81f2;
$custom-light: #91a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f81f2",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 221.595,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6261,
    "c": 0.17802,
    "h": 264
  },
  "luminance": 0.23774
}

Semantic roles & 50–950 ramp

primary
#4F81F2
secondary
#ECDAB1
accent
#9E03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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