#4C62BB#4C62BB

#4C62BB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.142 H 270.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C62BB
RGBrgb(76, 98, 187)
HSLhsl(228, 45%, 52%)
HSVhsv(228, 59%, 73%)
CMYKcmyk(59.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(44.03, 19.13, -49.58)
CIE-LCHlch(44.03, 53.14, 291.10°)
OKLaboklab(52.46% 0.0011 -0.1416)
OKLCHoklch(52.46% 0.142 270.4)
XYZxyz(16.3148, 13.8584, 48.8193)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C62BB #BBA54C
analogous
#4C9ABB #4C62BB #6E4CBB
triadic
#4C62BB #BB4C62 #62BB4C
tetradic
#4C62BB #BB4C9A #BBA54C #4CBB6E
square
#4C62BB #BB4C9A #BBA54C #4CBB6E
split-complementary
#4C62BB #BB6E4C #9ABB4C
monochromatic
#273366 #384A92 #4C62BB #7889CC #A5B0DD

Accessibility & contrast

On white

5.57
#4C62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4C62BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C62BB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C62BB#FFFFFF#000000##FFFFFF
##4C62BB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c62bb;
/* rgb */ color: rgb(76, 98, 187);
/* oklch */ color: oklch(52.5% 0.142 270.4);
Tailwind
colors: {
  custom: {
    50: '#878ed0',
    500: '#4c62bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c62bb;
$custom-light: #878ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c62bb",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 228.108,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.14158,
    "h": 270.4
  },
  "luminance": 0.1386
}

Semantic roles & 50–950 ramp

primary
#4C62BB
secondary
#CAC099
accent
#BB53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4C62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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