#4B5FCB#4B5FCB

#4B5FCB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.168 H 271.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4B5FCB
RGBrgb(75, 95, 203)
HSLhsl(231, 55%, 55%)
HSVhsv(231, 63%, 80%)
CMYKcmyk(63.1%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.22, 26.34, -58.53)
CIE-LCHlch(44.22, 64.19, 294.22°)
OKLaboklab(52.92% 0.0046 -0.168)
OKLCHoklch(52.92% 0.168 271.6)
XYZxyz(17.7697, 13.9905, 58.2523)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FCB #CBB74B
analogous
#4B9FCB #4B5FCB #774BCB
triadic
#4B5FCB #CB4B5F #5FCB4B
tetradic
#4B5FCB #CB4B9F #CBB74B #4BCB77
square
#4B5FCB #CB4B9F #CBB74B #4BCB77
split-complementary
#4B5FCB #CB774B #9FCB4B
monochromatic
#233079 #3143A8 #4B5FCB #7A89D9 #AAB3E6

Accessibility & contrast

On white

5.53
#4B5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4B5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FCB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FCB#FFFFFF#000000##FFFFFF
##4B5FCB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b5fcb;
/* rgb */ color: rgb(75, 95, 203);
/* oklch */ color: oklch(52.9% 0.168 271.6);
Tailwind
colors: {
  custom: {
    50: '#8a8cdc',
    500: '#4b5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fcb;
$custom-light: #8a8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fcb",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 230.625,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.16805,
    "h": 271.6
  },
  "luminance": 0.13992
}

Semantic roles & 50–950 ramp

primary
#4B5FCB
secondary
#D4CC9E
accent
#C749DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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