#4F7BCA#4F7BCA

#4F7BCA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.131 H 261.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4F7BCA
RGBrgb(79, 123, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 79%)
CMYKcmyk(60.9%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.94, 9.26, -45.58)
CIE-LCHlch(51.94, 46.51, 281.48°)
OKLaboklab(58.85% -0.0199 -0.1295)
OKLCHoklch(58.85% 0.131 261.3)
XYZxyz(20.9644, 20.0906, 58.6387)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BCA #CA9E4F
analogous
#4FB8CA #4F7BCA #614FCA
triadic
#4F7BCA #CA4F7B #7BCA4F
tetradic
#4F7BCA #CA4FB8 #CA9E4F #4FCA61
square
#4F7BCA #CA4FB8 #CA9E4F #4FCA61
split-complementary
#4F7BCA #CA614F #B8CA4F
monochromatic
#25437A #335DA9 #4F7BCA #7E9ED8 #ADC2E6

Accessibility & contrast

On white

4.18
#4F7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4F7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BCA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BCA#FFFFFF#000000##000000
##4F7BCA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7bca;
/* rgb */ color: rgb(79, 123, 202);
/* oklch */ color: oklch(58.9% 0.131 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ba0da',
    500: '#4f7bca',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bca;
$custom-light: #8ba0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bca",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 218.537,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.13102,
    "h": 261.3
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#4F7BCA
secondary
#D4C2A1
accent
#A94BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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