#4F7BCD#4F7BCD

#4F7BCD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.135 H 261.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F7BCD
RGBrgb(79, 123, 205)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(61.5%, 40%, 0%, 19.6%)
CIE-LABlab(52.10, 10.28, -47.03)
CIE-LCHlch(52.10, 48.14, 282.32°)
OKLaboklab(59.03% -0.0192 -0.1337)
OKLCHoklch(59.03% 0.135 261.8)
XYZxyz(21.3230, 20.2341, 60.5276)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7BCD #CDA14F
analogous
#4FBACD #4F7BCD #624FCD
triadic
#4F7BCD #CD4F7B #7BCD4F
tetradic
#4F7BCD #CD4FBA #CDA14F #4FCD62
square
#4F7BCD #CD4FBA #CDA14F #4FCD62
split-complementary
#4F7BCD #CD624F #BACD4F
monochromatic
#24437E #315DAE #4F7BCD #7F9FDB #AEC2E8

Accessibility & contrast

On white

4.16
#4F7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4F7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7BCD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7BCD#FFFFFF#000000##000000
##4F7BCD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f7bcd;
/* rgb */ color: rgb(79, 123, 205);
/* oklch */ color: oklch(59.0% 0.135 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0dd',
    500: '#4f7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #4f7bcd;
$custom-light: #8ba0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7bcd",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 219.048,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.13513,
    "h": 261.8
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#4F7BCD
secondary
#D6C4A2
accent
#AB49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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