#4A62C8#4A62C8

#4A62C8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.160 H 270.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4A62C8
RGBrgb(74, 98, 200)
HSLhsl(229, 53%, 54%)
HSVhsv(229, 63%, 78%)
CMYKcmyk(63%, 51%, 0%, 21.6%)
CIE-LABlab(44.74, 23.23, -55.96)
CIE-LCHlch(44.74, 60.59, 292.55°)
OKLaboklab(53.23% 0.0005 -0.1604)
OKLCHoklch(53.23% 0.16 270.2)
XYZxyz(17.6135, 14.3598, 56.4759)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62C8 #C8B04A
analogous
#4AA1C8 #4A62C8 #714AC8
triadic
#4A62C8 #C84A62 #62C84A
tetradic
#4A62C8 #C84AA1 #C8B04A #4AC871
square
#4A62C8 #C84AA1 #C8B04A #4AC871
split-complementary
#4A62C8 #C8714A #A1C84A
monochromatic
#233374 #3247A3 #4A62C8 #798BD6 #A8B3E5

Accessibility & contrast

On white

5.42
#4A62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4A62C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62C8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62C8#FFFFFF#000000##FFFFFF
##4A62C81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a62c8;
/* rgb */ color: rgb(74, 98, 200);
/* oklch */ color: oklch(53.2% 0.160 270.2);
Tailwind
colors: {
  custom: {
    50: '#898ed9',
    500: '#4a62c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a62c8;
$custom-light: #898ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62c8",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 228.571,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.1604,
    "h": 270.2
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#4A62C8
secondary
#D2C89C
accent
#C14BDD
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4A62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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