#4A62BC#4A62BC

#4A62BC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.144 H 269.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4A62BC
RGBrgb(74, 98, 188)
HSLhsl(227, 46%, 51%)
HSVhsv(227, 61%, 74%)
CMYKcmyk(60.6%, 47.9%, 0%, 26.3%)
CIE-LABlab(43.97, 19.09, -50.25)
CIE-LCHlch(43.97, 53.76, 290.80°)
OKLaboklab(52.4% -0.0008 -0.1436)
OKLCHoklch(52.4% 0.144 269.7)
XYZxyz(16.2658, 13.8207, 49.3777)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62BC #BCA44A
analogous
#4A9BBC #4A62BC #6B4ABC
triadic
#4A62BC #BC4A62 #62BC4A
tetradic
#4A62BC #BC4A9B #BCA44A #4ABC6B
square
#4A62BC #BC4A9B #BCA44A #4ABC6B
split-complementary
#4A62BC #BC6B4A #9BBC4A
monochromatic
#263366 #364A93 #4A62BC #7789CD #A3AFDD

Accessibility & contrast

On white

5.58
#4A62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4A62BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62BC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62BC#FFFFFF#000000##FFFFFF
##4A62BC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a62bc;
/* rgb */ color: rgb(74, 98, 188);
/* oklch */ color: oklch(52.4% 0.144 269.7);
Tailwind
colors: {
  custom: {
    50: '#878ed1',
    500: '#4a62bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a62bc;
$custom-light: #878ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62bc",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 227.368,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.14361,
    "h": 269.7
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#4A62BC
secondary
#CABF98
accent
#BA52D6
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4A62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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