#5F7CFC#5F7CFC

#5F7CFC is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.1% C 0.192 H 270.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5F7CFC
RGBrgb(95, 124, 252)
HSLhsl(229, 96%, 68%)
HSVhsv(229, 62%, 99%)
CMYKcmyk(62.3%, 50.8%, 0%, 1.2%)
CIE-LABlab(55.96, 28.32, -67.13)
CIE-LCHlch(55.96, 72.86, 292.87°)
OKLaboklab(63.1% 0.0014 -0.1925)
OKLCHoklch(63.1% 0.192 270.4)
XYZxyz(29.4917, 23.8739, 95.1305)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7CFC #FCDF5F
analogous
#5FCBFC #5F7CFC #905FFC
triadic
#5F7CFC #FC5F7C #7CFC5F
tetradic
#5F7CFC #FC5FCB #FCDF5F #5FFC90
square
#5F7CFC #FC5FCB #FCDF5F #5FFC90
split-complementary
#5F7CFC #FC905F #CBFC5F
monochromatic
#042CDC #234BFB #5F7CFC #9BADFD #D7DEFE

Accessibility & contrast

On white

3.64
#5F7CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5F7CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7CFC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7CFC#FFFFFF#000000##000000
##5F7CFC1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#007FF9
Tritanopia (blue-blind)
#009AB0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f7cfc;
/* rgb */ color: rgb(95, 124, 252);
/* oklch */ color: oklch(63.1% 0.192 270.4);
Tailwind
colors: {
  custom: {
    50: '#9aa1fe',
    500: '#5f7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #5f7cfc;
$custom-light: #9aa1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7cfc",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 228.917,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.19247,
    "h": 270.4
  },
  "luminance": 0.23876
}

Semantic roles & 50–950 ramp

primary
#5F7CFC
secondary
#F3EBC3
accent
#BB00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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