#4F7ACA#4F7ACA

#4F7ACA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.132 H 261.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F7ACA
RGBrgb(79, 122, 202)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 79%)
CMYKcmyk(60.9%, 39.6%, 0%, 20.8%)
CIE-LABlab(51.66, 9.87, -46.03)
CIE-LCHlch(51.66, 47.07, 282.10°)
OKLaboklab(58.64% -0.0188 -0.1308)
OKLCHoklch(58.64% 0.132 261.8)
XYZxyz(20.8409, 19.8438, 58.5976)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ACA #CA9F4F
analogous
#4FB8CA #4F7ACA #614FCA
triadic
#4F7ACA #CA4F7A #7ACA4F
tetradic
#4F7ACA #CA4FB8 #CA9F4F #4FCA61
square
#4F7ACA #CA4FB8 #CA9F4F #4FCA61
split-complementary
#4F7ACA #CA614F #B8CA4F
monochromatic
#25427A #335CA9 #4F7ACA #7E9ED8 #ADC1E6

Accessibility & contrast

On white

4.23
#4F7ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4F7ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ACA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ACA#FFFFFF#000000##000000
##4F7ACA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f7aca;
/* rgb */ color: rgb(79, 122, 202);
/* oklch */ color: oklch(58.6% 0.132 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0da',
    500: '#4f7aca',
    950: '#000000',
  },
}
SCSS
$custom: #4f7aca;
$custom-light: #8ba0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7aca",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 219.024,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.13216,
    "h": 261.8
  },
  "luminance": 0.19846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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