#4F7BCE#4F7BCE

#4F7BCE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.136 H 262.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4F7BCE
RGBrgb(79, 123, 206)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 62%, 81%)
CMYKcmyk(61.7%, 40.3%, 0%, 19.2%)
CIE-LABlab(52.16, 10.62, -47.51)
CIE-LCHlch(52.16, 48.69, 282.59°)
OKLaboklab(59.09% -0.019 -0.1352)
OKLCHoklch(59.09% 0.136 262)
XYZxyz(21.4441, 20.2825, 61.1654)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BCE #CEA24F
analogous
#4FBACE #4F7BCE #624FCE
triadic
#4F7BCE #CE4F7B #7BCE4F
tetradic
#4F7BCE #CE4FBA #CEA24F #4FCE62
square
#4F7BCE #CE4FBA #CEA24F #4FCE62
split-complementary
#4F7BCE #CE624F #BACE4F
monochromatic
#23437F #315DAF #4F7BCE #7F9FDB #AFC3E9

Accessibility & contrast

On white

4.15
#4F7BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4F7BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BCE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BCE#FFFFFF#000000##000000
##4F7BCE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D1
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7bce;
/* rgb */ color: rgb(79, 123, 206);
/* oklch */ color: oklch(59.1% 0.136 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ba0dd',
    500: '#4f7bce',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bce;
$custom-light: #8ba0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bce",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 219.213,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.13649,
    "h": 262
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#4F7BCE
secondary
#D7C4A2
accent
#AB48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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