#4F6DCB#4F6DCB

#4F6DCB is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.0% C 0.149 H 268.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4F6DCB
RGBrgb(79, 109, 203)
HSLhsl(225, 54%, 55%)
HSVhsv(225, 61%, 80%)
CMYKcmyk(61.1%, 46.3%, 0%, 20.4%)
CIE-LABlab(48.15, 18.25, -52.20)
CIE-LCHlch(48.15, 55.30, 289.27°)
OKLaboklab(55.95% -0.0051 -0.1491)
OKLCHoklch(55.95% 0.149 268)
XYZxyz(19.4689, 16.9097, 58.7263)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6DCB #CBAD4F
analogous
#4FABCB #4F6DCB #6F4FCB
triadic
#4F6DCB #CB4F6D #6DCB4F
tetradic
#4F6DCB #CB4FAB #CBAD4F #4FCB6F
square
#4F6DCB #CB4FAB #CBAD4F #4FCB6F
split-complementary
#4F6DCB #CB6F4F #ABCB4F
monochromatic
#24397B #324FAA #4F6DCB #7E94D9 #ADBBE7

Accessibility & contrast

On white

4.79
#4F6DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4F6DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6DCB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6DCB#FFFFFF#000000##FFFFFF
##4F6DCB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f6dcb;
/* rgb */ color: rgb(79, 109, 203);
/* oklch */ color: oklch(56.0% 0.149 268.0);
Tailwind
colors: {
  custom: {
    50: '#8b96db',
    500: '#4f6dcb',
    950: '#000000',
  },
}
SCSS
$custom: #4f6dcb;
$custom-light: #8b96db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6dcb",
  "rgb": {
    "r": 79,
    "g": 109,
    "b": 203
  },
  "hsl": {
    "h": 225.484,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.14919,
    "h": 268
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#4F6DCB
secondary
#D5C8A1
accent
#BA4ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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