#4F7ECB#4F7ECB

#4F7ECB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.129 H 259.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F7ECB
RGBrgb(79, 126, 203)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 61%, 80%)
CMYKcmyk(61.1%, 37.9%, 0%, 20.4%)
CIE-LABlab(52.83, 7.77, -44.73)
CIE-LCHlch(52.83, 45.40, 279.86°)
OKLaboklab(59.56% -0.0228 -0.127)
OKLCHoklch(59.56% 0.129 259.8)
XYZxyz(21.4610, 20.8939, 59.3903)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7ECB #CB9C4F
analogous
#4FBCCB #4F7ECB #5E4FCB
triadic
#4F7ECB #CB4F7E #7ECB4F
tetradic
#4F7ECB #CB4FBC #CB9C4F #4FCB5E
square
#4F7ECB #CB4FBC #CB9C4F #4FCB5E
split-complementary
#4F7ECB #CB5E4F #BCCB4F
monochromatic
#24457B #3260AA #4F7ECB #7EA1D9 #ADC3E7

Accessibility & contrast

On white

4.05
#4F7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4F7ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7ECB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7ECB#FFFFFF#000000##000000
##4F7ECB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CE
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f7ecb;
/* rgb */ color: rgb(79, 126, 203);
/* oklch */ color: oklch(59.6% 0.129 259.8);
Tailwind
colors: {
  custom: {
    50: '#8ba3db',
    500: '#4f7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ecb;
$custom-light: #8ba3db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ecb",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 217.258,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59564,
    "c": 0.12903,
    "h": 259.8
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#4F7ECB
secondary
#D5C1A1
accent
#A64ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4F7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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