#4F6CDB#4F6CDB

#4F6CDB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.172 H 269.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4F6CDB
RGBrgb(79, 108, 219)
HSLhsl(228, 66%, 58%)
HSVhsv(228, 64%, 86%)
CMYKcmyk(63.9%, 50.7%, 0%, 14.1%)
CIE-LABlab(48.88, 24.36, -60.13)
CIE-LCHlch(48.88, 64.88, 292.05°)
OKLaboklab(56.84% -0.0022 -0.1724)
OKLCHoklch(56.84% 0.172 269.3)
XYZxyz(21.3688, 17.4999, 69.2558)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CDB #DBBE4F
analogous
#4FB2DB #4F6CDB #784FDB
triadic
#4F6CDB #DB4F6C #6CDB4F
tetradic
#4F6CDB #DB4FB2 #DBBE4F #4FDB78
square
#4F6CDB #DB4FB2 #DBBE4F #4FDB78
split-complementary
#4F6CDB #DB784F #B2DB4F
monochromatic
#1E3692 #2849C5 #4F6CDB #8296E5 #B5C1F0

Accessibility & contrast

On white

4.67
#4F6CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4F6CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6CDB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CDB#FFFFFF#000000##FFFFFF
##4F6CDB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008699
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f6cdb;
/* rgb */ color: rgb(79, 108, 219);
/* oklch */ color: oklch(56.8% 0.172 269.3);
Tailwind
colors: {
  custom: {
    50: '#8e95e7',
    500: '#4f6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4f6cdb;
$custom-light: #8e95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6cdb",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 227.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.17245,
    "h": 269.3
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#4F6CDB
secondary
#DFD3A7
accent
#C63FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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