#4F5DCB#4F5DCB

#4F5DCB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.170 H 273.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F5DCB
RGBrgb(79, 93, 203)
HSLhsl(233, 54%, 55%)
HSVhsv(233, 61%, 80%)
CMYKcmyk(61.1%, 54.2%, 0%, 20.4%)
CIE-LABlab(43.95, 28.29, -58.96)
CIE-LCHlch(43.95, 65.40, 295.63°)
OKLaboklab(52.78% 0.0108 -0.1692)
OKLCHoklch(52.78% 0.17 273.6)
XYZxyz(17.9147, 13.8013, 58.2082)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DCB #CBBD4F
analogous
#4F9BCB #4F5DCB #7F4FCB
triadic
#4F5DCB #CB4F5D #5DCB4F
tetradic
#4F5DCB #CB4F9B #CBBD4F #4FCB7F
square
#4F5DCB #CB4F9B #CBBD4F #4FCB7F
split-complementary
#4F5DCB #CB7F4F #9BCB4F
monochromatic
#242E7B #3240AA #4F5DCB #7E88D9 #ADB4E7

Accessibility & contrast

On white

5.58
#4F5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4F5DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DCB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DCB#FFFFFF#000000##FFFFFF
##4F5DCB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6DCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5dcb;
/* rgb */ color: rgb(79, 93, 203);
/* oklch */ color: oklch(52.8% 0.170 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c8adc',
    500: '#4f5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dcb;
$custom-light: #8c8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dcb",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 233.226,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.16952,
    "h": 273.6
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#4F5DCB
secondary
#D5CFA1
accent
#CD4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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