#4F62BE#4F62BE

#4F62BE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.145 H 271.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F62BE
RGBrgb(79, 98, 190)
HSLhsl(230, 46%, 53%)
HSVhsv(230, 58%, 75%)
CMYKcmyk(58.4%, 48.4%, 0%, 25.5%)
CIE-LABlab(44.40, 20.74, -50.72)
CIE-LCHlch(44.40, 54.80, 292.24°)
OKLaboklab(52.84% 0.0046 -0.1449)
OKLCHoklch(52.84% 0.145 271.8)
XYZxyz(16.8833, 14.1140, 50.5398)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62BE #BEAB4F
analogous
#4F99BE #4F62BE #744FBE
triadic
#4F62BE #BE4F62 #62BE4F
tetradic
#4F62BE #BE4F99 #BEAB4F #4FBE74
square
#4F62BE #BE4F99 #BEAB4F #4FBE74
split-complementary
#4F62BE #BE744F #99BE4F
monochromatic
#28336B #384898 #4F62BE #7C8ACF #A8B2DF

Accessibility & contrast

On white

5.49
#4F62BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4F62BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62BE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62BE#FFFFFF#000000##FFFFFF
##4F62BE1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#2364BC
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f62be;
/* rgb */ color: rgb(79, 98, 190);
/* oklch */ color: oklch(52.8% 0.145 271.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ed2',
    500: '#4f62be',
    950: '#000000',
  },
}
SCSS
$custom: #4f62be;
$custom-light: #8a8ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62be",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 229.73,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.14495,
    "h": 271.8
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#4F62BE
secondary
#CCC49C
accent
#BF52D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4F62BE

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

Preview Lab → · Contrast checker → · Palette generator →

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