#4F62DA#4F62DA

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

Color values

HEX#4F62DA
RGBrgb(79, 98, 218)
HSLhsl(232, 65%, 58%)
HSVhsv(232, 64%, 85%)
CMYKcmyk(63.8%, 55%, 0%, 14.5%)
CIE-LABlab(46.25, 30.25, -63.81)
CIE-LCHlch(46.25, 70.62, 295.37°)
OKLaboklab(54.84% 0.0068 -0.1834)
OKLCHoklch(54.84% 0.184 272.1)
XYZxyz(20.2428, 15.4578, 68.2330)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62DA #DAC74F
analogous
#4FA7DA #4F62DA #824FDA
triadic
#4F62DA #DA4F62 #62DA4F
tetradic
#4F62DA #DA4FA7 #DAC74F #4FDA82
square
#4F62DA #DA4FA7 #DAC74F #4FDA82
split-complementary
#4F62DA #DA824F #A7DA4F
monochromatic
#1E2E90 #293EC3 #4F62DA #828FE5 #B4BCEF

Accessibility & contrast

On white

5.13
#4F62DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4F62DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62DA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62DA#FFFFFF#000000##FFFFFF
##4F62DA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f62da;
/* rgb */ color: rgb(79, 98, 218);
/* oklch */ color: oklch(54.8% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#8e8ee6',
    500: '#4f62da',
    950: '#000000',
  },
}
SCSS
$custom: #4f62da;
$custom-light: #8e8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62da",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 231.799,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.18352,
    "h": 272.1
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#4F62DA
secondary
#DED7A7
accent
#D140E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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