#4B62CC#4B62CC

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

Color values

HEX#4B62CC
RGBrgb(75, 98, 204)
HSLhsl(229, 56%, 55%)
HSVhsv(229, 63%, 80%)
CMYKcmyk(63.2%, 52%, 0%, 20%)
CIE-LABlab(45.07, 24.79, -57.74)
CIE-LCHlch(45.07, 62.84, 293.23°)
OKLaboklab(53.58% 0.0019 -0.1656)
OKLCHoklch(53.58% 0.166 270.6)
XYZxyz(18.1647, 14.5893, 58.9738)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B62CC #CCB54B
analogous
#4BA3CC #4B62CC #744BCC
triadic
#4B62CC #CC4B62 #62CC4B
tetradic
#4B62CC #CC4BA3 #CCB54B #4BCC74
square
#4B62CC #CC4BA3 #CCB54B #4BCC74
split-complementary
#4B62CC #CC744B #A3CC4B
monochromatic
#23327A #3046AA #4B62CC #7B8CDA #AAB5E7

Accessibility & contrast

On white

5.36
#4B62CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4B62CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B62CC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B62CC#FFFFFF#000000##FFFFFF
##4B62CC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b62cc;
/* rgb */ color: rgb(75, 98, 204);
/* oklch */ color: oklch(53.6% 0.166 270.6);
Tailwind
colors: {
  custom: {
    50: '#8a8edc',
    500: '#4b62cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b62cc;
$custom-light: #8a8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b62cc",
  "rgb": {
    "r": 75,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 229.302,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.16563,
    "h": 270.6
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#4B62CC
secondary
#D5CB9E
accent
#C449DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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