#4F7DEC#4F7DEC

#4F7DEC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.4% C 0.175 H 264.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4F7DEC
RGBrgb(79, 125, 236)
HSLhsl(222, 81%, 62%)
HSVhsv(222, 67%, 93%)
CMYKcmyk(66.5%, 47%, 0%, 7.5%)
CIE-LABlab(54.43, 19.71, -60.76)
CIE-LCHlch(54.43, 63.87, 287.97°)
OKLaboklab(61.4% -0.0158 -0.174)
OKLCHoklch(61.4% 0.175 264.8)
XYZxyz(25.6931, 22.3831, 82.3070)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DEC #ECBE4F
analogous
#4FCCEC #4F7DEC #704FEC
triadic
#4F7DEC #EC4F7D #7DEC4F
tetradic
#4F7DEC #EC4FCC #ECBE4F #4FEC70
square
#4F7DEC #EC4FCC #ECBE4F #4FEC70
split-complementary
#4F7DEC #EC704F #CCEC4F
monochromatic
#1340AE #1955E5 #4F7DEC #86A6F2 #BDCFF8

Accessibility & contrast

On white

3.83
#4F7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4F7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DEC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DEC#FFFFFF#000000##000000
##4F7DEC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#1F7BEA
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f7dec;
/* rgb */ color: rgb(79, 125, 236);
/* oklch */ color: oklch(61.4% 0.175 264.8);
Tailwind
colors: {
  custom: {
    50: '#90a2f3',
    500: '#4f7dec',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dec;
$custom-light: #90a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dec",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 222.42,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.17475,
    "h": 264.8
  },
  "luminance": 0.22386
}

Semantic roles & 50–950 ramp

primary
#4F7DEC
secondary
#E8D7AE
accent
#9F09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4F7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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