#4F7AE3#4F7AE3

#4F7AE3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.166 H 265.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4F7AE3
RGBrgb(79, 122, 227)
HSLhsl(223, 73%, 60%)
HSVhsv(223, 65%, 89%)
CMYKcmyk(65.2%, 46.3%, 0%, 11%)
CIE-LABlab(53.09, 18.44, -57.88)
CIE-LCHlch(53.09, 60.75, 287.67°)
OKLaboklab(60.2% -0.0143 -0.1656)
OKLCHoklch(60.2% 0.166 265.1)
XYZxyz(24.0443, 21.1251, 75.4686)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AE3 #E3B84F
analogous
#4FC4E3 #4F7AE3 #6E4FE3
triadic
#4F7AE3 #E34F7A #7AE34F
tetradic
#4F7AE3 #E34FC4 #E3B84F #4FE36E
square
#4F7AE3 #E34FC4 #E3B84F #4FE36E
split-complementary
#4F7AE3 #E36E4F #C4E34F
monochromatic
#19409E #2255D3 #4F7AE3 #84A2EB #B9CAF4

Accessibility & contrast

On white

4.02
#4F7AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4F7AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AE3#FFFFFF#000000##000000
##4F7AE31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E7
Deuteranopia (green-blind)
#2878E1
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7ae3;
/* rgb */ color: rgb(79, 122, 227);
/* oklch */ color: oklch(60.2% 0.166 265.1);
Tailwind
colors: {
  custom: {
    50: '#8f9fec',
    500: '#4f7ae3',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ae3;
$custom-light: #8f9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ae3",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 222.568,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.16625,
    "h": 265.1
  },
  "luminance": 0.21127
}

Semantic roles & 50–950 ramp

primary
#4F7AE3
secondary
#E3D3AA
accent
#BA39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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