#4A62AC#4A62AC

#4A62AC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.121 H 268.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4A62AC
RGBrgb(74, 98, 172)
HSLhsl(225, 40%, 48%)
HSVhsv(225, 57%, 67%)
CMYKcmyk(57%, 43%, 0%, 32.5%)
CIE-LABlab(43.02, 13.61, -42.43)
CIE-LCHlch(43.02, 44.56, 287.79°)
OKLaboklab(51.36% -0.0034 -0.1206)
OKLCHoklch(51.36% 0.121 268.4)
XYZxyz(14.6356, 13.1687, 40.7923)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62AC #AC944A
analogous
#4A93AC #4A62AC #634AAC
triadic
#4A62AC #AC4A62 #62AC4A
tetradic
#4A62AC #AC4A93 #AC944A #4AAC63
square
#4A62AC #AC4A93 #AC944A #4AAC63
split-complementary
#4A62AC #AC634A #93AC4A
monochromatic
#253156 #384A81 #4A62AC #7185C2 #9CAAD4

Accessibility & contrast

On white

5.78
#4A62AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4A62AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62AC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62AC#FFFFFF#000000##FFFFFF
##4A62AC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#3562AA
Tritanopia (blue-blind)
#09727E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a62ac;
/* rgb */ color: rgb(74, 98, 172);
/* oklch */ color: oklch(51.4% 0.121 268.4);
Tailwind
colors: {
  custom: {
    50: '#848ec5',
    500: '#4a62ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a62ac;
$custom-light: #848ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62ac",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 225.306,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.12068,
    "h": 268.4
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#4A62AC
secondary
#C1B591
accent
#B258D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4A62AC

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

Preview Lab → · Contrast checker → · Palette generator →

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