#4B5FCA#4B5FCA

#4B5FCA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.167 H 271.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4B5FCA
RGBrgb(75, 95, 202)
HSLhsl(231, 55%, 54%)
HSVhsv(231, 63%, 79%)
CMYKcmyk(62.9%, 53%, 0%, 20.8%)
CIE-LABlab(44.15, 25.99, -58.07)
CIE-LCHlch(44.15, 63.62, 294.11°)
OKLaboklab(52.84% 0.0046 -0.1666)
OKLCHoklch(52.84% 0.167 271.6)
XYZxyz(17.6510, 13.9430, 57.6268)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FCA #CAB64B
analogous
#4B9FCA #4B5FCA #774BCA
triadic
#4B5FCA #CA4B5F #5FCA4B
tetradic
#4B5FCA #CA4B9F #CAB64B #4BCA77
square
#4B5FCA #CA4B9F #CAB64B #4BCA77
split-complementary
#4B5FCA #CA774B #9FCA4B
monochromatic
#233077 #3144A7 #4B5FCA #7A89D8 #AAB3E6

Accessibility & contrast

On white

5.54
#4B5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4B5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FCA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FCA#FFFFFF#000000##FFFFFF
##4B5FCA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b5fca;
/* rgb */ color: rgb(75, 95, 202);
/* oklch */ color: oklch(52.8% 0.167 271.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cdb',
    500: '#4b5fca',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fca;
$custom-light: #8a8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fca",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 230.551,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.16668,
    "h": 271.6
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#4B5FCA
secondary
#D3CB9D
accent
#C74ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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