#4F72CB#4F72CB

#4F72CB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.143 H 265.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4F72CB
RGBrgb(79, 114, 203)
HSLhsl(223, 54%, 55%)
HSVhsv(223, 61%, 80%)
CMYKcmyk(61.1%, 43.8%, 0%, 20.4%)
CIE-LABlab(49.50, 15.13, -50.03)
CIE-LCHlch(49.50, 52.27, 286.83°)
OKLaboklab(56.99% -0.0103 -0.1426)
OKLCHoklch(56.99% 0.143 265.9)
XYZxyz(20.0176, 18.0070, 58.9091)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72CB #CBA84F
analogous
#4FB0CB #4F72CB #6A4FCB
triadic
#4F72CB #CB4F72 #72CB4F
tetradic
#4F72CB #CB4FB0 #CBA84F #4FCB6A
square
#4F72CB #CB4FB0 #CBA84F #4FCB6A
split-complementary
#4F72CB #CB6A4F #B0CB4F
monochromatic
#243D7B #3254AA #4F72CB #7E98D9 #ADBEE7

Accessibility & contrast

On white

4.56
#4F72CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4F72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F72CB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72CB#FFFFFF#000000##000000
##4F72CB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f72cb;
/* rgb */ color: rgb(79, 114, 203);
/* oklch */ color: oklch(57.0% 0.143 265.9);
Tailwind
colors: {
  custom: {
    50: '#8b9adb',
    500: '#4f72cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f72cb;
$custom-light: #8b9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72cb",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 223.065,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.14302,
    "h": 265.9
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#4F72CB
secondary
#D5C6A1
accent
#B44ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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