#4F5FDB#4F5FDB

#4F5FDB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.189 H 272.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4F5FDB
RGBrgb(79, 95, 219)
HSLhsl(233, 66%, 58%)
HSVhsv(233, 64%, 86%)
CMYKcmyk(63.9%, 56.6%, 0%, 14.1%)
CIE-LABlab(45.58, 32.46, -65.48)
CIE-LCHlch(45.58, 73.08, 296.37°)
OKLaboklab(54.35% 0.0095 -0.1883)
OKLCHoklch(54.35% 0.189 272.9)
XYZxyz(20.0986, 14.9594, 68.8324)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FDB #DBCB4F
analogous
#4FA5DB #4F5FDB #854FDB
triadic
#4F5FDB #DB4F5F #5FDB4F
tetradic
#4F5FDB #DB4FA5 #DBCB4F #4FDB85
square
#4F5FDB #DB4FA5 #DBCB4F #4FDB85
split-complementary
#4F5FDB #DB854F #A5DB4F
monochromatic
#1E2B92 #283AC5 #4F5FDB #828DE5 #B5BBF0

Accessibility & contrast

On white

5.26
#4F5FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4F5FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FDB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FDB#FFFFFF#000000##FFFFFF
##4F5FDB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5fdb;
/* rgb */ color: rgb(79, 95, 219);
/* oklch */ color: oklch(54.4% 0.189 272.9);
Tailwind
colors: {
  custom: {
    50: '#8f8ce7',
    500: '#4f5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fdb;
$custom-light: #8f8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fdb",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 233.143,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54353,
    "c": 0.18857,
    "h": 272.9
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#4F5FDB
secondary
#DFD8A7
accent
#D63FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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