#5F49EB#5F49EB

#5F49EB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.2% C 0.231 H 281.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F49EB
RGBrgb(95, 73, 235)
HSLhsl(248, 80%, 60%)
HSVhsv(248, 69%, 92%)
CMYKcmyk(59.6%, 68.9%, 0%, 7.8%)
CIE-LABlab(43.05, 52.88, -78.62)
CIE-LCHlch(43.05, 94.75, 303.92°)
OKLaboklab(53.19% 0.0452 -0.2266)
OKLCHoklch(53.19% 0.231 281.3)
XYZxyz(22.0925, 13.1946, 79.9638)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49EB #D5EB49
analogous
#4984EB #5F49EB #B049EB
triadic
#5F49EB #EB5F49 #49EB5F
tetradic
#5F49EB #EB4984 #D5EB49 #49EBB0
square
#5F49EB #EB4984 #D5EB49 #49EBB0
split-complementary
#5F49EB #EBB049 #84EB49
monochromatic
#2712A7 #3318DE #5F49EB #8F80F1 #C0B7F7

Accessibility & contrast

On white

5.77
#5F49EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5F49EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49EB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49EB#FFFFFF#000000##FFFFFF
##5F49EB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF0
Deuteranopia (green-blind)
#0060E8
Tritanopia (blue-blind)
#007495
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f49eb;
/* rgb */ color: rgb(95, 73, 235);
/* oklch */ color: oklch(53.2% 0.231 281.3);
Tailwind
colors: {
  custom: {
    50: '#9b7ef3',
    500: '#5f49eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f49eb;
$custom-light: #9b7ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49eb",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 235
  },
  "hsl": {
    "h": 248.148,
    "s": 80.198,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.23104,
    "h": 281.3
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#5F49EB
secondary
#DEE7A9
accent
#DD09C0
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F49EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5F49EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva