#4F5FCB#4F5FCB

#4F5FCB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.167 H 273.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4F5FCB
RGBrgb(79, 95, 203)
HSLhsl(232, 54%, 55%)
HSVhsv(232, 61%, 80%)
CMYKcmyk(61.1%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.46, 27.03, -58.14)
CIE-LCHlch(44.46, 64.12, 294.94°)
OKLaboklab(53.16% 0.0088 -0.1667)
OKLCHoklch(53.16% 0.167 273)
XYZxyz(18.0926, 14.1570, 58.2675)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FCB #CBBB4F
analogous
#4F9DCB #4F5FCB #7D4FCB
triadic
#4F5FCB #CB4F5F #5FCB4F
tetradic
#4F5FCB #CB4F9D #CBBB4F #4FCB7D
square
#4F5FCB #CB4F9D #CBBB4F #4FCB7D
split-complementary
#4F5FCB #CB7D4F #9DCB4F
monochromatic
#24307B #3242AA #4F5FCB #7E8AD9 #ADB5E7

Accessibility & contrast

On white

5.48
#4F5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4F5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FCB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FCB#FFFFFF#000000##FFFFFF
##4F5FCB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5fcb;
/* rgb */ color: rgb(79, 95, 203);
/* oklch */ color: oklch(53.2% 0.167 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c8cdb',
    500: '#4f5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fcb;
$custom-light: #8c8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fcb",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 232.258,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.16696,
    "h": 273
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#4F5FCB
secondary
#D5CEA1
accent
#CB4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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