#4F7BDA#4F7BDA

#4F7BDA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.153 H 263.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F7BDA
RGBrgb(79, 123, 218)
HSLhsl(221, 65%, 58%)
HSVhsv(221, 64%, 85%)
CMYKcmyk(63.8%, 43.6%, 0%, 14.5%)
CIE-LABlab(52.83, 14.72, -53.24)
CIE-LCHlch(52.83, 55.23, 285.46°)
OKLaboklab(59.83% -0.0167 -0.1519)
OKLCHoklch(59.83% 0.153 263.7)
XYZxyz(22.9579, 20.8880, 69.1380)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BDA #DAAE4F
analogous
#4FC0DA #4F7BDA #684FDA
triadic
#4F7BDA #DA4F7B #7BDA4F
tetradic
#4F7BDA #DA4FC0 #DAAE4F #4FDA68
square
#4F7BDA #DA4FC0 #DAAE4F #4FDA68
split-complementary
#4F7BDA #DA684F #C0DA4F
monochromatic
#1E4290 #295AC3 #4F7BDA #82A1E5 #B4C7EF

Accessibility & contrast

On white

4.06
#4F7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4F7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BDA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BDA#FFFFFF#000000##000000
##4F7BDA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DE
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7bda;
/* rgb */ color: rgb(79, 123, 218);
/* oklch */ color: oklch(59.8% 0.153 263.7);
Tailwind
colors: {
  custom: {
    50: '#8da0e6',
    500: '#4f7bda',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bda;
$custom-light: #8da0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bda",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 221.007,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59827,
    "c": 0.15287,
    "h": 263.7
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#4F7BDA
secondary
#DECDA7
accent
#B340E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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