#5F7BF4#5F7BF4

#5F7BF4 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.4% C 0.183 H 270.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5F7BF4
RGBrgb(95, 123, 244)
HSLhsl(229, 87%, 66%)
HSVhsv(229, 61%, 96%)
CMYKcmyk(61.1%, 49.6%, 0%, 4.3%)
CIE-LABlab(55.20, 26.28, -63.92)
CIE-LCHlch(55.20, 69.11, 292.35°)
OKLaboklab(62.36% 0.0016 -0.183)
OKLCHoklch(62.36% 0.183 270.5)
XYZxyz(28.1259, 23.1281, 88.5524)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7BF4 #F4D85F
analogous
#5FC6F4 #5F7BF4 #8E5FF4
triadic
#5F7BF4 #F45F7B #7BF45F
tetradic
#5F7BF4 #F45FC6 #F4D85F #5FF48E
square
#5F7BF4 #F45FC6 #F4D85F #5FF48E
split-complementary
#5F7BF4 #F48E5F #C6F45F
monochromatic
#0E31CB #264CF0 #5F7BF4 #98AAF8 #D2D9FC

Accessibility & contrast

On white

3.73
#5F7BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5F7BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7BF4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7BF4#FFFFFF#000000##000000
##5F7BF41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398BF8
Deuteranopia (green-blind)
#127EF1
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f7bf4;
/* rgb */ color: rgb(95, 123, 244);
/* oklch */ color: oklch(62.4% 0.183 270.5);
Tailwind
colors: {
  custom: {
    50: '#99a0f8',
    500: '#5f7bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5f7bf4;
$custom-light: #99a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7bf4",
  "rgb": {
    "r": 95,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 228.725,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.18306,
    "h": 270.5
  },
  "luminance": 0.2313
}

Semantic roles & 50–950 ramp

primary
#5F7BF4
secondary
#F0E6BF
accent
#B902E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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