#4F7CCE#4F7CCE

#4F7CCE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.3% C 0.135 H 261.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4F7CCE
RGBrgb(79, 124, 206)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 62%, 81%)
CMYKcmyk(61.7%, 39.8%, 0%, 19.2%)
CIE-LABlab(52.43, 10.00, -47.07)
CIE-LCHlch(52.43, 48.12, 282.00°)
OKLaboklab(59.31% -0.0201 -0.1339)
OKLCHoklch(59.31% 0.135 261.5)
XYZxyz(21.5688, 20.5319, 61.2069)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CCE #CEA14F
analogous
#4FBBCE #4F7CCE #614FCE
triadic
#4F7CCE #CE4F7C #7CCE4F
tetradic
#4F7CCE #CE4FBB #CEA14F #4FCE61
square
#4F7CCE #CE4FBB #CEA14F #4FCE61
split-complementary
#4F7CCE #CE614F #BBCE4F
monochromatic
#23447F #315DAF #4F7CCE #7FA0DB #AFC3E9

Accessibility & contrast

On white

4.11
#4F7CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4F7CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CCE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CCE#FFFFFF#000000##000000
##4F7CCE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D1
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7cce;
/* rgb */ color: rgb(79, 124, 206);
/* oklch */ color: oklch(59.3% 0.135 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba1dd',
    500: '#4f7cce',
    950: '#000000',
  },
}
SCSS
$custom: #4f7cce;
$custom-light: #8ba1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7cce",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 218.74,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.13536,
    "h": 261.5
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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