#4F7DCA#4F7DCA

#4F7DCA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.129 H 260.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F7DCA
RGBrgb(79, 125, 202)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 61%, 79%)
CMYKcmyk(60.9%, 38.1%, 0%, 20.8%)
CIE-LABlab(52.50, 8.04, -44.69)
CIE-LCHlch(52.50, 45.41, 280.20°)
OKLaboklab(59.29% -0.022 -0.1269)
OKLCHoklch(59.29% 0.129 260.2)
XYZxyz(21.2150, 20.5919, 58.7223)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DCA #CA9C4F
analogous
#4FBBCA #4F7DCA #5E4FCA
triadic
#4F7DCA #CA4F7D #7DCA4F
tetradic
#4F7DCA #CA4FBB #CA9C4F #4FCA5E
square
#4F7DCA #CA4FBB #CA9C4F #4FCA5E
split-complementary
#4F7DCA #CA5E4F #BBCA4F
monochromatic
#25457A #335FA9 #4F7DCA #7EA0D8 #ADC2E6

Accessibility & contrast

On white

4.10
#4F7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4F7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DCA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DCA#FFFFFF#000000##000000
##4F7DCA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f7dca;
/* rgb */ color: rgb(79, 125, 202);
/* oklch */ color: oklch(59.3% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ba2da',
    500: '#4f7dca',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dca;
$custom-light: #8ba2da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dca",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 217.561,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59289,
    "c": 0.12877,
    "h": 260.2
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#4F7DCA
secondary
#D4C1A1
accent
#A64BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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