#4F6BDB#4F6BDB

#4F6BDB is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.174 H 269.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F6BDB
RGBrgb(79, 107, 219)
HSLhsl(228, 66%, 58%)
HSVhsv(228, 64%, 86%)
CMYKcmyk(63.9%, 51.1%, 0%, 14.1%)
CIE-LABlab(48.62, 24.98, -60.55)
CIE-LCHlch(48.62, 65.50, 292.42°)
OKLaboklab(56.64% -0.0013 -0.1737)
OKLCHoklch(56.64% 0.174 269.6)
XYZxyz(21.2640, 17.2902, 69.2209)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6BDB #DBBF4F
analogous
#4FB1DB #4F6BDB #794FDB
triadic
#4F6BDB #DB4F6B #6BDB4F
tetradic
#4F6BDB #DB4FB1 #DBBF4F #4FDB79
square
#4F6BDB #DB4FB1 #DBBF4F #4FDB79
split-complementary
#4F6BDB #DB794F #B1DB4F
monochromatic
#1E3592 #2847C5 #4F6BDB #8296E5 #B5C0F0

Accessibility & contrast

On white

4.71
#4F6BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4F6BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6BDB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6BDB#FFFFFF#000000##FFFFFF
##4F6BDB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6bdb;
/* rgb */ color: rgb(79, 107, 219);
/* oklch */ color: oklch(56.6% 0.174 269.6);
Tailwind
colors: {
  custom: {
    50: '#8e95e7',
    500: '#4f6bdb',
    950: '#000000',
  },
}
SCSS
$custom: #4f6bdb;
$custom-light: #8e95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6bdb",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 228,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.17368,
    "h": 269.6
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#4F6BDB
secondary
#DFD4A7
accent
#C73FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F6BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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