#4F6CCB#4F6CCB

#4F6CCB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.7% C 0.150 H 268.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4F6CCB
RGBrgb(79, 108, 203)
HSLhsl(226, 54%, 55%)
HSVhsv(226, 61%, 80%)
CMYKcmyk(61.1%, 46.8%, 0%, 20.4%)
CIE-LABlab(47.88, 18.87, -52.64)
CIE-LCHlch(47.88, 55.92, 289.73°)
OKLaboklab(55.75% -0.0041 -0.1504)
OKLCHoklch(55.75% 0.15 268.4)
XYZxyz(19.3629, 16.6975, 58.6909)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CCB #CBAE4F
analogous
#4FAACB #4F6CCB #704FCB
triadic
#4F6CCB #CB4F6C #6CCB4F
tetradic
#4F6CCB #CB4FAA #CBAE4F #4FCB70
square
#4F6CCB #CB4FAA #CBAE4F #4FCB70
split-complementary
#4F6CCB #CB704F #AACB4F
monochromatic
#24397B #324EAA #4F6CCB #7E93D9 #ADBBE7

Accessibility & contrast

On white

4.84
#4F6CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4F6CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6CCB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CCB#FFFFFF#000000##FFFFFF
##4F6CCB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CF
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f6ccb;
/* rgb */ color: rgb(79, 108, 203);
/* oklch */ color: oklch(55.7% 0.150 268.4);
Tailwind
colors: {
  custom: {
    50: '#8b95db',
    500: '#4f6ccb',
    950: '#000000',
  },
}
SCSS
$custom: #4f6ccb;
$custom-light: #8b95db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6ccb",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 225.968,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.15045,
    "h": 268.4
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#4F6CCB
secondary
#D5C9A1
accent
#BB4ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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