#5F7DF3#5F7DF3

#5F7DF3 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.7% C 0.179 H 269.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F7DF3
RGBrgb(95, 125, 243)
HSLhsl(228, 86%, 66%)
HSVhsv(228, 61%, 95%)
CMYKcmyk(60.9%, 48.6%, 0%, 4.7%)
CIE-LABlab(55.65, 24.73, -62.64)
CIE-LCHlch(55.65, 67.35, 291.54°)
OKLaboklab(62.68% -0.0004 -0.1793)
OKLCHoklch(62.68% 0.179 269.9)
XYZxyz(28.2251, 23.5688, 87.8385)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7DF3 #F3D55F
analogous
#5FC7F3 #5F7DF3 #8B5FF3
triadic
#5F7DF3 #F35F7D #7DF35F
tetradic
#5F7DF3 #F35FC7 #F3D55F #5FF38B
square
#5F7DF3 #F35FC7 #F3D55F #5FF38B
split-complementary
#5F7DF3 #F38B5F #C7F35F
monochromatic
#0F35C9 #264FEF #5F7DF3 #98ABF7 #D1DAFC

Accessibility & contrast

On white

3.68
#5F7DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5F7DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7DF3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7DF3#FFFFFF#000000##000000
##5F7DF31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8CF7
Deuteranopia (green-blind)
#207FF1
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f7df3;
/* rgb */ color: rgb(95, 125, 243);
/* oklch */ color: oklch(62.7% 0.179 269.9);
Tailwind
colors: {
  custom: {
    50: '#99a2f8',
    500: '#5f7df3',
    950: '#000000',
  },
}
SCSS
$custom: #5f7df3;
$custom-light: #99a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7df3",
  "rgb": {
    "r": 95,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 227.838,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62684,
    "c": 0.17927,
    "h": 269.9
  },
  "luminance": 0.23571
}

Semantic roles & 50–950 ramp

primary
#5F7DF3
secondary
#EFE5BF
accent
#B503E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5F7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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