#4F7BCC#4F7BCC

#4F7BCC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.134 H 261.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F7BCC
RGBrgb(79, 123, 204)
HSLhsl(219, 55%, 55%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61.3%, 39.7%, 0%, 20%)
CIE-LABlab(52.05, 9.94, -46.55)
CIE-LCHlch(52.05, 47.60, 282.05°)
OKLaboklab(58.97% -0.0195 -0.1323)
OKLCHoklch(58.97% 0.134 261.6)
XYZxyz(21.2027, 20.1859, 59.8940)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BCC #CCA04F
analogous
#4FB9CC #4F7BCC #614FCC
triadic
#4F7BCC #CC4F7B #7BCC4F
tetradic
#4F7BCC #CC4FB9 #CCA04F #4FCC61
square
#4F7BCC #CC4FB9 #CCA04F #4FCC61
split-complementary
#4F7BCC #CC614F #B9CC4F
monochromatic
#24437D #325DAC #4F7BCC #7E9FDA #AEC2E7

Accessibility & contrast

On white

4.17
#4F7BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F7BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BCC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BCC#FFFFFF#000000##000000
##4F7BCC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CF
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7bcc;
/* rgb */ color: rgb(79, 123, 204);
/* oklch */ color: oklch(59.0% 0.134 261.6);
Tailwind
colors: {
  custom: {
    50: '#8ba0dc',
    500: '#4f7bcc',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bcc;
$custom-light: #8ba0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bcc",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 218.88,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.13376,
    "h": 261.6
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#4F7BCC
secondary
#D5C3A1
accent
#AA49DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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