#4F7DCD#4F7DCD

#4F7DCD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.133 H 260.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F7DCD
RGBrgb(79, 125, 205)
HSLhsl(218, 56%, 56%)
HSVhsv(218, 61%, 80%)
CMYKcmyk(61.5%, 39%, 0%, 19.6%)
CIE-LABlab(52.66, 9.06, -46.15)
CIE-LCHlch(52.66, 47.03, 281.10°)
OKLaboklab(59.46% -0.0213 -0.1311)
OKLCHoklch(59.46% 0.133 260.8)
XYZxyz(21.5736, 20.7353, 60.6112)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7DCD #CD9F4F
analogous
#4FBCCD #4F7DCD #604FCD
triadic
#4F7DCD #CD4F7D #7DCD4F
tetradic
#4F7DCD #CD4FBC #CD9F4F #4FCD60
square
#4F7DCD #CD4FBC #CD9F4F #4FCD60
split-complementary
#4F7DCD #CD604F #BCCD4F
monochromatic
#24457E #315FAE #4F7DCD #7FA0DB #AEC3E8

Accessibility & contrast

On white

4.08
#4F7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7DCD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7DCD#FFFFFF#000000##000000
##4F7DCD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7dcd;
/* rgb */ color: rgb(79, 125, 205);
/* oklch */ color: oklch(59.5% 0.133 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ba2dc',
    500: '#4f7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4f7dcd;
$custom-light: #8ba2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7dcd",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 218.095,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59463,
    "c": 0.13286,
    "h": 260.8
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#4F7DCD
secondary
#D6C3A2
accent
#A849DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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