#4F62AF#4F62AF

#4F62AF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.123 H 271.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4F62AF
RGBrgb(79, 98, 175)
HSLhsl(228, 38%, 50%)
HSVhsv(228, 55%, 69%)
CMYKcmyk(54.9%, 44%, 0%, 31.4%)
CIE-LABlab(43.49, 15.71, -43.41)
CIE-LCHlch(43.49, 46.16, 289.90°)
OKLaboklab(51.86% 0.0024 -0.1234)
OKLCHoklch(51.86% 0.123 271.1)
XYZxyz(15.3275, 13.4917, 42.3456)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62AF #AF9C4F
analogous
#4F92AF #4F62AF #6C4FAF
triadic
#4F62AF #AF4F62 #62AF4F
tetradic
#4F62AF #AF4F92 #AF9C4F #4FAF6C
square
#4F62AF #AF4F92 #AF9C4F #4FAF6C
split-complementary
#4F62AF #AF6C4F #92AF4F
monochromatic
#29335B #3C4A85 #4F62AF #7987C2 #A3ADD5

Accessibility & contrast

On white

5.68
#4F62AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4F62AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62AF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62AF#FFFFFF#000000##FFFFFF
##4F62AF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#1D7380
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f62af;
/* rgb */ color: rgb(79, 98, 175);
/* oklch */ color: oklch(51.9% 0.123 271.1);
Tailwind
colors: {
  custom: {
    50: '#878ec7',
    500: '#4f62af',
    950: '#000000',
  },
}
SCSS
$custom: #4f62af;
$custom-light: #878ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62af",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 228.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.12342,
    "h": 271.1
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#4F62AF
secondary
#C3BA97
accent
#B75ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F62AF

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

Preview Lab → · Contrast checker → · Palette generator →

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