#4C62BE#4C62BE

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

Color values

HEX#4C62BE
RGBrgb(76, 98, 190)
HSLhsl(228, 47%, 52%)
HSVhsv(228, 60%, 75%)
CMYKcmyk(60%, 48.4%, 0%, 25.5%)
CIE-LABlab(44.22, 20.15, -51.02)
CIE-LCHlch(44.22, 54.86, 291.56°)
OKLaboklab(52.66% 0.0015 -0.1458)
OKLCHoklch(52.66% 0.146 270.6)
XYZxyz(16.6393, 13.9882, 50.5284)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62BE #BEA84C
analogous
#4C9BBE #4C62BE #6F4CBE
triadic
#4C62BE #BE4C62 #62BE4C
tetradic
#4C62BE #BE4C9B #BEA84C #4CBE6F
square
#4C62BE #BE4C9B #BEA84C #4CBE6F
split-complementary
#4C62BE #BE6F4C #9BBE4C
monochromatic
#263369 #374996 #4C62BE #7989CE #A6B1DF

Accessibility & contrast

On white

5.53
#4C62BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4C62BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C62BE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C62BE#FFFFFF#000000##FFFFFF
##4C62BE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c62be;
/* rgb */ color: rgb(76, 98, 190);
/* oklch */ color: oklch(52.7% 0.146 270.6);
Tailwind
colors: {
  custom: {
    50: '#888ed2',
    500: '#4c62be',
    950: '#000000',
  },
}
SCSS
$custom: #4c62be;
$custom-light: #888ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62be",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 228.421,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.14584,
    "h": 270.6
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#4C62BE
secondary
#CCC29A
accent
#BD51D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4C62BE

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

Preview Lab → · Contrast checker → · Palette generator →

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