#4F62CD#4F62CD

#4F62CD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.166 H 272.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F62CD
RGBrgb(79, 98, 205)
HSLhsl(231, 56%, 56%)
HSVhsv(231, 61%, 80%)
CMYKcmyk(61.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.36, 25.83, -57.82)
CIE-LCHlch(45.36, 63.33, 294.07°)
OKLaboklab(53.88% 0.0061 -0.1658)
OKLCHoklch(53.88% 0.166 272.1)
XYZxyz(18.6079, 14.8039, 59.6226)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62CD #CDBA4F
analogous
#4FA1CD #4F62CD #7B4FCD
triadic
#4F62CD #CD4F62 #62CD4F
tetradic
#4F62CD #CD4FA1 #CDBA4F #4FCD7B
square
#4F62CD #CD4FA1 #CDBA4F #4FCD7B
split-complementary
#4F62CD #CD7B4F #A1CD4F
monochromatic
#24317E #3144AE #4F62CD #7F8DDB #AEB7E8

Accessibility & contrast

On white

5.30
#4F62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4F62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62CD#FFFFFF#000000##FFFFFF
##4F62CD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f62cd;
/* rgb */ color: rgb(79, 98, 205);
/* oklch */ color: oklch(53.9% 0.166 272.1);
Tailwind
colors: {
  custom: {
    50: '#8c8edd',
    500: '#4f62cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f62cd;
$custom-light: #8c8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62cd",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 230.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.16588,
    "h": 272.1
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#4F62CD
secondary
#D6CEA2
accent
#C849DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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