#4F7BD9#4F7BD9

#4F7BD9 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.8% C 0.152 H 263.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4F7BD9
RGBrgb(79, 123, 217)
HSLhsl(221, 64%, 58%)
HSVhsv(221, 64%, 85%)
CMYKcmyk(63.6%, 43.3%, 0%, 14.9%)
CIE-LABlab(52.77, 14.38, -52.76)
CIE-LCHlch(52.77, 54.69, 285.24°)
OKLaboklab(59.76% -0.0169 -0.1506)
OKLCHoklch(59.76% 0.152 263.6)
XYZxyz(22.8274, 20.8358, 68.4509)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BD9 #D9AD4F
analogous
#4FC0D9 #4F7BD9 #684FD9
triadic
#4F7BD9 #D94F7B #7BD94F
tetradic
#4F7BD9 #D94FC0 #D9AD4F #4FD968
square
#4F7BD9 #D94FC0 #D9AD4F #4FD968
split-complementary
#4F7BD9 #D9684F #C0D94F
monochromatic
#1F438F #2A5AC1 #4F7BD9 #81A1E4 #B4C6EF

Accessibility & contrast

On white

4.06
#4F7BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4F7BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BD9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BD9#FFFFFF#000000##000000
##4F7BD91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DD
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7bd9;
/* rgb */ color: rgb(79, 123, 217);
/* oklch */ color: oklch(59.8% 0.152 263.6);
Tailwind
colors: {
  custom: {
    50: '#8da0e5',
    500: '#4f7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bd9;
$custom-light: #8da0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bd9",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 220.87,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.15152,
    "h": 263.6
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#4F7BD9
secondary
#DDCCA6
accent
#B240E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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