#4F72BA#4F72BA

#4F72BA is a mid, moderate blue. Relative luminance 0.172; OKLCH L 56.0% C 0.119 H 263.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F72BA
RGBrgb(79, 114, 186)
HSLhsl(220, 44%, 52%)
HSVhsv(220, 58%, 73%)
CMYKcmyk(57.5%, 38.7%, 0%, 27.1%)
CIE-LABlab(48.56, 9.39, -41.76)
CIE-LCHlch(48.56, 42.80, 282.67°)
OKLaboklab(55.96% -0.0136 -0.1184)
OKLCHoklch(55.96% 0.119 263.4)
XYZxyz(18.1017, 17.2406, 48.8187)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72BA #BA974F
analogous
#4FA7BA #4F72BA #624FBA
triadic
#4F72BA #BA4F72 #72BA4F
tetradic
#4F72BA #BA4FA7 #BA974F #4FBA62
square
#4F72BA #BA4FA7 #BA974F #4FBA62
split-complementary
#4F72BA #BA624F #A7BA4F
monochromatic
#283D66 #395792 #4F72BA #7B95CB #A7B8DC

Accessibility & contrast

On white

4.72
#4F72BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4F72BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F72BA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72BA#FFFFFF#000000##FFFFFF
##4F72BA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f72ba;
/* rgb */ color: rgb(79, 114, 186);
/* oklch */ color: oklch(56.0% 0.119 263.4);
Tailwind
colors: {
  custom: {
    50: '#889acf',
    500: '#4f72ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f72ba;
$custom-light: #889acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72ba",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 220.374,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.1192,
    "h": 263.4
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#4F72BA
secondary
#CABA9B
accent
#AA54D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F72BA

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

Preview Lab → · Contrast checker → · Palette generator →

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