#4A62BE#4A62BE

#4A62BE is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.146 H 269.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4A62BE
RGBrgb(74, 98, 190)
HSLhsl(228, 47%, 52%)
HSVhsv(228, 61%, 75%)
CMYKcmyk(61.1%, 48.4%, 0%, 25.5%)
CIE-LABlab(44.10, 19.78, -51.21)
CIE-LCHlch(44.10, 54.90, 291.11°)
OKLaboklab(52.54% -0.0006 -0.1464)
OKLCHoklch(52.54% 0.146 269.8)
XYZxyz(16.4829, 13.9075, 50.5210)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62BE #BEA64A
analogous
#4A9CBE #4A62BE #6C4ABE
triadic
#4A62BE #BE4A62 #62BE4A
tetradic
#4A62BE #BE4A9C #BEA64A #4ABE6C
square
#4A62BE #BE4A9C #BEA64A #4ABE6C
split-complementary
#4A62BE #BE6C4A #9CBE4A
monochromatic
#253368 #364995 #4A62BE #7789CE #A4B0DE

Accessibility & contrast

On white

5.55
#4A62BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4A62BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62BE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62BE#FFFFFF#000000##FFFFFF
##4A62BE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC1
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a62be;
/* rgb */ color: rgb(74, 98, 190);
/* oklch */ color: oklch(52.5% 0.146 269.8);
Tailwind
colors: {
  custom: {
    50: '#878ed2',
    500: '#4a62be',
    950: '#000000',
  },
}
SCSS
$custom: #4a62be;
$custom-light: #878ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62be",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 227.586,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.14644,
    "h": 269.8
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#4A62BE
secondary
#CBC198
accent
#BB51D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A62BE

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

Preview Lab → · Contrast checker → · Palette generator →

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