#4B4FCB#4B4FCB

#4B4FCB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.188 H 275.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4B4FCB
RGBrgb(75, 79, 203)
HSLhsl(238, 55%, 55%)
HSVhsv(238, 63%, 80%)
CMYKcmyk(63.1%, 61.1%, 0%, 20.4%)
CIE-LABlab(40.24, 36.35, -64.99)
CIE-LCHlch(40.24, 74.46, 299.22°)
OKLaboklab(49.96% 0.019 -0.1871)
OKLCHoklch(49.96% 0.188 275.8)
XYZxyz(16.4736, 11.3983, 57.8203)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4FCB #CBC74B
analogous
#4B8FCB #4B4FCB #874BCB
triadic
#4B4FCB #CB4B4F #4FCB4B
tetradic
#4B4FCB #CB4B8F #CBC74B #4BCB87
square
#4B4FCB #CB4B8F #CBC74B #4BCB87
split-complementary
#4B4FCB #CB874B #8FCB4B
monochromatic
#232679 #3134A8 #4B4FCB #7A7DD9 #AAACE6

Accessibility & contrast

On white

6.40
#4B4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4B4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4FCB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4FCB#FFFFFF#000000##FFFFFF
##4B4FCB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b4fcb;
/* rgb */ color: rgb(75, 79, 203);
/* oklch */ color: oklch(50.0% 0.188 275.8);
Tailwind
colors: {
  custom: {
    50: '#8b80dc',
    500: '#4b4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4b4fcb;
$custom-light: #8b80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4fcb",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 238.125,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.18809,
    "h": 275.8
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#4B4FCB
secondary
#D4D29E
accent
#DA49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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