#4F6DB2#4F6DB2

#4F6DB2 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.4% C 0.114 H 265.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F6DB2
RGBrgb(79, 109, 178)
HSLhsl(222, 39%, 50%)
HSVhsv(222, 56%, 70%)
CMYKcmyk(55.6%, 38.8%, 0%, 30.2%)
CIE-LABlab(46.73, 9.82, -40.03)
CIE-LCHlch(46.73, 41.21, 283.78°)
OKLaboklab(54.4% -0.0097 -0.1134)
OKLCHoklch(54.4% 0.114 265.1)
XYZxyz(16.7263, 15.8126, 44.2816)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6DB2 #B2944F
analogous
#4F9EB2 #4F6DB2 #624FB2
triadic
#4F6DB2 #B24F6D #6DB24F
tetradic
#4F6DB2 #B24F9E #B2944F #4FB262
square
#4F6DB2 #B24F9E #B2944F #4FB262
split-complementary
#4F6DB2 #B2624F #9EB24F
monochromatic
#29395E #3C5388 #4F6DB2 #7A90C5 #A4B4D7

Accessibility & contrast

On white

5.04
#4F6DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4F6DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6DB2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6DB2#FFFFFF#000000##FFFFFF
##4F6DB21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#147C87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f6db2;
/* rgb */ color: rgb(79, 109, 178);
/* oklch */ color: oklch(54.4% 0.114 265.1);
Tailwind
colors: {
  custom: {
    50: '#8796c9',
    500: '#4f6db2',
    950: '#000000',
  },
}
SCSS
$custom: #4f6db2;
$custom-light: #8796c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6db2",
  "rgb": {
    "r": 79,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 221.818,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.11382,
    "h": 265.1
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#4F6DB2
secondary
#C4B798
accent
#AB59CF
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4F6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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