#4A62CD#4A62CD

#4A62CD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.167 H 270.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4A62CD
RGBrgb(74, 98, 205)
HSLhsl(229, 57%, 55%)
HSVhsv(229, 64%, 80%)
CMYKcmyk(63.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(45.08, 24.96, -58.30)
CIE-LCHlch(45.08, 63.42, 293.18°)
OKLaboklab(53.59% 0.001 -0.1673)
OKLCHoklch(53.59% 0.167 270.3)
XYZxyz(18.2074, 14.5974, 59.6038)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A62CD #CDB54A
analogous
#4AA3CD #4A62CD #744ACD
triadic
#4A62CD #CD4A62 #62CD4A
tetradic
#4A62CD #CD4AA3 #CDB54A #4ACD74
square
#4A62CD #CD4AA3 #CDB54A #4ACD74
split-complementary
#4A62CD #CD744A #A3CD4A
monochromatic
#22327B #2F46AB #4A62CD #7A8CDA #AAB5E7

Accessibility & contrast

On white

5.36
#4A62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4A62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A62CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A62CD#FFFFFF#000000##FFFFFF
##4A62CD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a62cd;
/* rgb */ color: rgb(74, 98, 205);
/* oklch */ color: oklch(53.6% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#8a8edd',
    500: '#4a62cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a62cd;
$custom-light: #8a8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a62cd",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 229.008,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.16729,
    "h": 270.3
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#4A62CD
secondary
#D5CB9E
accent
#C448E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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