#4F7BDE#4F7BDE

#4F7BDE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.1% C 0.158 H 264.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F7BDE
RGBrgb(79, 123, 222)
HSLhsl(222, 68%, 59%)
HSVhsv(222, 64%, 87%)
CMYKcmyk(64.4%, 44.6%, 0%, 12.9%)
CIE-LABlab(53.06, 16.10, -55.12)
CIE-LCHlch(53.06, 57.42, 286.28°)
OKLaboklab(60.08% -0.0161 -0.1575)
OKLCHoklch(60.08% 0.158 264.2)
XYZxyz(23.4876, 21.0999, 71.9280)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BDE #DEB24F
analogous
#4FC3DE #4F7BDE #6B4FDE
triadic
#4F7BDE #DE4F7B #7BDE4F
tetradic
#4F7BDE #DE4FC3 #DEB24F #4FDE6B
square
#4F7BDE #DE4FC3 #DEB24F #4FDE6B
split-complementary
#4F7BDE #DE6B4F #C3DE4F
monochromatic
#1C4296 #2658CA #4F7BDE #83A2E8 #B6C8F1

Accessibility & contrast

On white

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

On black

5.22
#4F7BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BDE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BDE#FFFFFF#000000##000000
##4F7BDE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E2
Deuteranopia (green-blind)
#3379DC
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7bde;
/* rgb */ color: rgb(79, 123, 222);
/* oklch */ color: oklch(60.1% 0.158 264.2);
Tailwind
colors: {
  custom: {
    50: '#8ea0e9',
    500: '#4f7bde',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bde;
$custom-light: #8ea0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bde",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 221.538,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.1583,
    "h": 264.2
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#4F7BDE
secondary
#E0CFA8
accent
#B63DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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