#4B4FAF#4B4FAF

#4B4FAF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.150 H 277.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4B4FAF
RGBrgb(75, 79, 175)
HSLhsl(238, 40%, 49%)
HSVhsv(238, 57%, 69%)
CMYKcmyk(57.1%, 54.9%, 0%, 31.4%)
CIE-LABlab(38.17, 26.97, -51.97)
CIE-LCHlch(38.17, 58.55, 297.42°)
OKLaboklab(47.76% 0.019 -0.1489)
OKLCHoklch(47.76% 0.15 277.3)
XYZxyz(13.4330, 10.1820, 41.8066)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4FAF #AFAB4B
analogous
#4B81AF #4B4FAF #794BAF
triadic
#4B4FAF #AF4B4F #4FAF4B
tetradic
#4B4FAF #AF4B81 #AFAB4B #4BAF79
square
#4B4FAF #AF4B81 #AFAB4B #4BAF79
split-complementary
#4B4FAF #AF794B #81AF4B
monochromatic
#262859 #393C84 #4B4FAF #7477C3 #9FA1D6

Accessibility & contrast

On white

6.92
#4B4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4B4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4FAF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4FAF#FFFFFF#000000##FFFFFF
##4B4FAF1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#116577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b4faf;
/* rgb */ color: rgb(75, 79, 175);
/* oklch */ color: oklch(47.8% 0.150 277.3);
Tailwind
colors: {
  custom: {
    50: '#8680c7',
    500: '#4b4faf',
    950: '#000000',
  },
}
SCSS
$custom: #4b4faf;
$custom-light: #8680c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4faf",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 237.6,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.15007,
    "h": 277.3
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#4B4FAF
secondary
#C2C193
accent
#CB58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4B4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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