#4F62AE#4F62AE

#4F62AE is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.122 H 271.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4F62AE
RGBrgb(79, 98, 174)
HSLhsl(228, 38%, 50%)
HSVhsv(228, 55%, 68%)
CMYKcmyk(54.6%, 43.7%, 0%, 31.8%)
CIE-LABlab(43.44, 15.38, -42.91)
CIE-LCHlch(43.44, 45.59, 289.71°)
OKLaboklab(51.8% 0.0022 -0.1219)
OKLCHoklch(51.8% 0.122 271)
XYZxyz(15.2296, 13.4526, 41.8303)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62AE #AE9B4F
analogous
#4F92AE #4F62AE #6C4FAE
triadic
#4F62AE #AE4F62 #62AE4F
tetradic
#4F62AE #AE4F92 #AE9B4F #4FAE6C
square
#4F62AE #AE4F92 #AE9B4F #4FAE6C
split-complementary
#4F62AE #AE6C4F #92AE4F
monochromatic
#29335A #3C4A84 #4F62AE #7887C2 #A2ADD5

Accessibility & contrast

On white

5.69
#4F62AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4F62AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62AE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62AE#FFFFFF#000000##FFFFFF
##4F62AE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#1E737F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f62ae;
/* rgb */ color: rgb(79, 98, 174);
/* oklch */ color: oklch(51.8% 0.122 271.0);
Tailwind
colors: {
  custom: {
    50: '#878ec6',
    500: '#4f62ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f62ae;
$custom-light: #878ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62ae",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 228,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.12197,
    "h": 271
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#4F62AE
secondary
#C2B997
accent
#B65ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F62AE

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

Preview Lab → · Contrast checker → · Palette generator →

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