#4F59BA#4F59BA

#4F59BA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.151 H 275.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4F59BA
RGBrgb(79, 89, 186)
HSLhsl(234, 44%, 52%)
HSVhsv(234, 58%, 73%)
CMYKcmyk(57.5%, 52.2%, 0%, 27.1%)
CIE-LABlab(41.77, 25.09, -52.62)
CIE-LCHlch(41.77, 58.29, 295.49°)
OKLaboklab(50.77% 0.0138 -0.1505)
OKLCHoklch(50.77% 0.151 275.2)
XYZxyz(15.6569, 12.3511, 48.0038)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59BA #BAB04F
analogous
#4F8EBA #4F59BA #7B4FBA
triadic
#4F59BA #BA4F59 #59BA4F
tetradic
#4F59BA #BA4F8E #BAB04F #4FBA7B
square
#4F59BA #BA4F8E #BAB04F #4FBA7B
split-complementary
#4F59BA #BA7B4F #8EBA4F
monochromatic
#282E66 #394292 #4F59BA #7B82CB #A7ACDC

Accessibility & contrast

On white

6.05
#4F59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4F59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59BA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59BA#FFFFFF#000000##FFFFFF
##4F59BA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BD
Deuteranopia (green-blind)
#095EB8
Tritanopia (blue-blind)
#096F81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f59ba;
/* rgb */ color: rgb(79, 89, 186);
/* oklch */ color: oklch(50.8% 0.151 275.2);
Tailwind
colors: {
  custom: {
    50: '#8987cf',
    500: '#4f59ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f59ba;
$custom-light: #8987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59ba",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 234.393,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.15118,
    "h": 275.2
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#4F59BA
secondary
#CAC59B
accent
#C854D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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