#5F7CF3#5F7CF3

#5F7CF3 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.5% C 0.180 H 270.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5F7CF3
RGBrgb(95, 124, 243)
HSLhsl(228, 86%, 66%)
HSVhsv(228, 61%, 95%)
CMYKcmyk(60.9%, 49%, 0%, 4.7%)
CIE-LABlab(55.40, 25.34, -63.05)
CIE-LCHlch(55.40, 67.95, 291.89°)
OKLaboklab(62.49% 0.0005 -0.1805)
OKLCHoklch(62.49% 0.18 270.2)
XYZxyz(28.0992, 23.3169, 87.7965)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7CF3 #F3D65F
analogous
#5FC6F3 #5F7CF3 #8C5FF3
triadic
#5F7CF3 #F35F7C #7CF35F
tetradic
#5F7CF3 #F35FC6 #F3D65F #5FF38C
square
#5F7CF3 #F35FC6 #F3D65F #5FF38C
split-complementary
#5F7CF3 #F38C5F #C6F35F
monochromatic
#0F33C9 #264DEF #5F7CF3 #98ABF7 #D1D9FC

Accessibility & contrast

On white

3.71
#5F7CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5F7CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7CF3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7CF3#FFFFFF#000000##000000
##5F7CF31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF7
Deuteranopia (green-blind)
#1B7EF1
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f7cf3;
/* rgb */ color: rgb(95, 124, 243);
/* oklch */ color: oklch(62.5% 0.180 270.2);
Tailwind
colors: {
  custom: {
    50: '#99a1f8',
    500: '#5f7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5f7cf3;
$custom-light: #99a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7cf3",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 228.243,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6249,
    "c": 0.18049,
    "h": 270.2
  },
  "luminance": 0.23319
}

Semantic roles & 50–950 ramp

primary
#5F7CF3
secondary
#EFE6BF
accent
#B703E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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