#4A62BB#4A62BB

#4A62BB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.3% C 0.142 H 269.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A62BB
RGBrgb(74, 98, 187)
HSLhsl(227, 45%, 51%)
HSVhsv(227, 60%, 73%)
CMYKcmyk(60.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(43.91, 18.74, -49.77)
CIE-LCHlch(43.91, 53.18, 290.63°)
OKLaboklab(52.34% -0.001 -0.1422)
OKLCHoklch(52.34% 0.142 269.6)
XYZxyz(16.1584, 13.7777, 48.8119)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62BB #BBA34A
analogous
#4A9ABB #4A62BB #6A4ABB
triadic
#4A62BB #BB4A62 #62BB4A
tetradic
#4A62BB #BB4A9A #BBA34A #4ABB6A
square
#4A62BB #BB4A9A #BBA34A #4ABB6A
split-complementary
#4A62BB #BB6A4A #9ABB4A
monochromatic
#263365 #374A91 #4A62BB #7689CC #A3AFDC

Accessibility & contrast

On white

5.59
#4A62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A62BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62BB#FFFFFF#000000##FFFFFF
##4A62BB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#007685
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a62bb;
/* rgb */ color: rgb(74, 98, 187);
/* oklch */ color: oklch(52.3% 0.142 269.6);
Tailwind
colors: {
  custom: {
    50: '#868ed0',
    500: '#4a62bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a62bb;
$custom-light: #868ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62bb",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 227.257,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.1422,
    "h": 269.6
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#4A62BB
secondary
#C9BF97
accent
#B953D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4A62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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