#4C629F#4C629F

#4C629F is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.7% C 0.101 H 267.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4C629F
RGBrgb(76, 98, 159)
HSLhsl(224, 35%, 46%)
HSVhsv(224, 52%, 62%)
CMYKcmyk(52.2%, 38.4%, 0%, 37.6%)
CIE-LABlab(42.42, 9.73, -35.68)
CIE-LCHlch(42.42, 36.98, 285.26°)
OKLaboklab(50.7% -0.004 -0.1008)
OKLCHoklch(50.7% 0.101 267.7)
XYZxyz(13.6041, 12.7741, 34.5430)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C629F #9F894C
analogous
#4C8B9F #4C629F #5F4C9F
triadic
#4C629F #9F4C62 #629F4C
tetradic
#4C629F #9F4C8B #9F894C #4C9F5F
square
#4C629F #9F4C8B #9F894C #4C9F5F
split-complementary
#4C629F #9F5F4C #8B9F4C
monochromatic
#242F4C #384876 #4C629F #6E82BA #98A6CE

Accessibility & contrast

On white

5.91
#4C629F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4C629F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C629F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C629F#FFFFFF#000000##FFFFFF
##4C629F1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A68A1
Deuteranopia (green-blind)
#41619E
Tritanopia (blue-blind)
#266F79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c629f;
/* rgb */ color: rgb(76, 98, 159);
/* oklch */ color: oklch(50.7% 0.101 267.7);
Tailwind
colors: {
  custom: {
    50: '#838ebb',
    500: '#4c629f',
    950: '#000000',
  },
}
SCSS
$custom: #4c629f;
$custom-light: #838ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c629f",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 159
  },
  "hsl": {
    "h": 224.096,
    "s": 35.319,
    "l": 46.078
  },
  "oklch": {
    "l": 0.507,
    "c": 0.10093,
    "h": 267.7
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#4C629F
secondary
#BAAE8D
accent
#AE5CCB
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4C629F

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

Preview Lab → · Contrast checker → · Palette generator →

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