#5739F2#5739F2

#5739F2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 51.2% C 0.256 H 279.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5739F2
RGBrgb(87, 57, 242)
HSLhsl(250, 88%, 59%)
HSVhsv(250, 76%, 95%)
CMYKcmyk(64%, 76.4%, 0%, 5.1%)
CIE-LABlab(40.18, 62.08, -87.32)
CIE-LCHlch(40.18, 107.14, 305.41°)
OKLaboklab(51.19% 0.0432 -0.2521)
OKLCHoklch(51.19% 0.256 279.7)
XYZxyz(21.4155, 11.3616, 85.0516)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739F2 #D4F239
analogous
#3977F2 #5739F2 #B439F2
triadic
#5739F2 #F25739 #39F257
tetradic
#5739F2 #F23977 #D4F239 #39F2B4
square
#5739F2 #F23977 #D4F239 #39F2B4
split-complementary
#5739F2 #F2B439 #77F239
monochromatic
#240BA6 #300FDF #5739F2 #8872F6 #B8ACFA

Accessibility & contrast

On white

6.42
#5739F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5739F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5739F2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739F2#FFFFFF#000000##FFFFFF
##5739F21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065F7
Deuteranopia (green-blind)
#0057EF
Tritanopia (blue-blind)
#007095
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5739f2;
/* rgb */ color: rgb(87, 57, 242);
/* oklch */ color: oklch(51.2% 0.256 279.7);
Tailwind
colors: {
  custom: {
    50: '#9974f8',
    500: '#5739f2',
    950: '#000000',
  },
}
SCSS
$custom: #5739f2;
$custom-light: #9974f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5739f2",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 249.73,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.25579,
    "h": 279.7
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#5739F2
secondary
#DCE89F
accent
#FE2ADB
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5739F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5739F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva