#4C62BF#4C62BF

#4C62BF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.147 H 270.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4C62BF
RGBrgb(76, 98, 191)
HSLhsl(229, 47%, 52%)
HSVhsv(229, 60%, 75%)
CMYKcmyk(60.2%, 48.7%, 0%, 25.1%)
CIE-LABlab(44.28, 20.50, -51.50)
CIE-LCHlch(44.28, 55.43, 291.70°)
OKLaboklab(52.73% 0.0016 -0.1472)
OKLCHoklch(52.73% 0.147 270.6)
XYZxyz(16.7490, 14.0321, 51.1059)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62BF #BFA94C
analogous
#4C9BBF #4C62BF #704CBF
triadic
#4C62BF #BF4C62 #62BF4C
tetradic
#4C62BF #BF4C9B #BFA94C #4CBF70
square
#4C62BF #BF4C9B #BFA94C #4CBF70
split-complementary
#4C62BF #BF704C #9BBF4C
monochromatic
#26336B #364998 #4C62BF #798ACF #A6B1DF

Accessibility & contrast

On white

5.52
#4C62BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4C62BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C62BF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C62BF#FFFFFF#000000##FFFFFF
##4C62BF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#1E64BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c62bf;
/* rgb */ color: rgb(76, 98, 191);
/* oklch */ color: oklch(52.7% 0.147 270.6);
Tailwind
colors: {
  custom: {
    50: '#888ed3',
    500: '#4c62bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c62bf;
$custom-light: #888ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62bf",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 228.522,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.14725,
    "h": 270.6
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#4C62BF
secondary
#CCC39A
accent
#BD51D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4C62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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