#4F62B2#4F62B2

#4F62B2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.128 H 271.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4F62B2
RGBrgb(79, 98, 178)
HSLhsl(228, 39%, 50%)
HSVhsv(228, 56%, 70%)
CMYKcmyk(55.6%, 44.9%, 0%, 30.2%)
CIE-LABlab(43.67, 16.71, -44.89)
CIE-LCHlch(43.67, 47.90, 290.42°)
OKLaboklab(52.05% 0.0029 -0.1277)
OKLCHoklch(52.05% 0.128 271.3)
XYZxyz(15.6254, 13.6109, 43.9146)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62B2 #B29F4F
analogous
#4F93B2 #4F62B2 #6E4FB2
triadic
#4F62B2 #B24F62 #62B24F
tetradic
#4F62B2 #B24F93 #B29F4F #4FB26E
square
#4F62B2 #B24F93 #B29F4F #4FB26E
split-complementary
#4F62B2 #B26E4F #93B24F
monochromatic
#29335E #3C4A88 #4F62B2 #7A88C5 #A4AED7

Accessibility & contrast

On white

5.64
#4F62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4F62B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62B2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62B2#FFFFFF#000000##FFFFFF
##4F62B21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#187481
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f62b2;
/* rgb */ color: rgb(79, 98, 178);
/* oklch */ color: oklch(52.1% 0.128 271.3);
Tailwind
colors: {
  custom: {
    50: '#888ec9',
    500: '#4f62b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f62b2;
$custom-light: #888ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62b2",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 228.485,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.12777,
    "h": 271.3
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#4F62B2
secondary
#C4BC98
accent
#B859CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F62B2

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

Preview Lab → · Contrast checker → · Palette generator →

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