#4F62DB#4F62DB

#4F62DB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.185 H 272.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4F62DB
RGBrgb(79, 98, 219)
HSLhsl(232, 66%, 58%)
HSVhsv(232, 64%, 86%)
CMYKcmyk(63.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(46.33, 30.59, -64.27)
CIE-LCHlch(46.33, 71.18, 295.46°)
OKLaboklab(54.91% 0.0068 -0.1847)
OKLCHoklch(54.91% 0.185 272.1)
XYZxyz(20.3740, 15.5103, 68.9242)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62DB #DBC84F
analogous
#4FA8DB #4F62DB #824FDB
triadic
#4F62DB #DB4F62 #62DB4F
tetradic
#4F62DB #DB4FA8 #DBC84F #4FDB82
square
#4F62DB #DB4FA8 #DBC84F #4FDB82
split-complementary
#4F62DB #DB824F #A8DB4F
monochromatic
#1E2E92 #283DC5 #4F62DB #828FE5 #B5BDF0

Accessibility & contrast

On white

5.12
#4F62DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4F62DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62DB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62DB#FFFFFF#000000##FFFFFF
##4F62DB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f62db;
/* rgb */ color: rgb(79, 98, 219);
/* oklch */ color: oklch(54.9% 0.185 272.1);
Tailwind
colors: {
  custom: {
    50: '#8e8ee7',
    500: '#4f62db',
    950: '#000000',
  },
}
SCSS
$custom: #4f62db;
$custom-light: #8e8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62db",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 231.857,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.18486,
    "h": 272.1
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#4F62DB
secondary
#DFD7A7
accent
#D23FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F62DB

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

Preview Lab → · Contrast checker → · Palette generator →

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