#4A62BF#4A62BF

#4A62BF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.6% C 0.148 H 269.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4A62BF
RGBrgb(74, 98, 191)
HSLhsl(228, 48%, 52%)
HSVhsv(228, 61%, 75%)
CMYKcmyk(61.3%, 48.7%, 0%, 25.1%)
CIE-LABlab(44.16, 20.12, -51.69)
CIE-LCHlch(44.16, 55.47, 291.27°)
OKLaboklab(52.61% -0.0004 -0.1478)
OKLCHoklch(52.61% 0.148 269.8)
XYZxyz(16.5925, 13.9514, 51.0986)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62BF #BFA74A
analogous
#4A9DBF #4A62BF #6D4ABF
triadic
#4A62BF #BF4A62 #62BF4A
tetradic
#4A62BF #BF4A9D #BFA74A #4ABF6D
square
#4A62BF #BF4A9D #BFA74A #4ABF6D
split-complementary
#4A62BF #BF6D4A #9DBF4A
monochromatic
#253369 #354997 #4A62BF #7789CF #A4B0DF

Accessibility & contrast

On white

5.54
#4A62BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4A62BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62BF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62BF#FFFFFF#000000##FFFFFF
##4A62BF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#1C63BD
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a62bf;
/* rgb */ color: rgb(74, 98, 191);
/* oklch */ color: oklch(52.6% 0.148 269.8);
Tailwind
colors: {
  custom: {
    50: '#878ed3',
    500: '#4a62bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a62bf;
$custom-light: #878ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62bf",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 227.692,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.14785,
    "h": 269.8
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#4A62BF
secondary
#CCC299
accent
#BC50D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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