#4F7BD4#4F7BD4

#4F7BD4 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.145 H 262.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F7BD4
RGBrgb(79, 123, 212)
HSLhsl(220, 61%, 57%)
HSVhsv(220, 63%, 83%)
CMYKcmyk(62.7%, 42%, 0%, 16.9%)
CIE-LABlab(52.49, 12.66, -50.39)
CIE-LCHlch(52.49, 51.96, 284.11°)
OKLaboklab(59.46% -0.0178 -0.1436)
OKLCHoklch(59.46% 0.145 262.9)
XYZxyz(22.1869, 20.5796, 65.0776)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BD4 #D4A84F
analogous
#4FBED4 #4F7BD4 #654FD4
triadic
#4F7BD4 #D44F7B #7BD44F
tetradic
#4F7BD4 #D44FBE #D4A84F #4FD465
square
#4F7BD4 #D44FBE #D4A84F #4FD465
split-complementary
#4F7BD4 #D4654F #BED44F
monochromatic
#214387 #2D5BB9 #4F7BD4 #80A0E0 #B1C5EC

Accessibility & contrast

On white

4.10
#4F7BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4F7BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BD4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BD4#FFFFFF#000000##000000
##4F7BD41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D7
Deuteranopia (green-blind)
#3F78D2
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7bd4;
/* rgb */ color: rgb(79, 123, 212);
/* oklch */ color: oklch(59.5% 0.145 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ca0e2',
    500: '#4f7bd4',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bd4;
$custom-light: #8ca0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bd4",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 220.15,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.1447,
    "h": 262.9
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#4F7BD4
secondary
#DAC9A4
accent
#AF44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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