#5F7CFD#5F7CFD

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

Color values

HEX#5F7CFD
RGBrgb(95, 124, 253)
HSLhsl(229, 98%, 68%)
HSVhsv(229, 62%, 99%)
CMYKcmyk(62.5%, 51%, 0%, 0.8%)
CIE-LABlab(56.03, 28.65, -67.58)
CIE-LCHlch(56.03, 73.40, 292.98°)
OKLaboklab(63.17% 0.0014 -0.1938)
OKLCHoklch(63.17% 0.194 270.4)
XYZxyz(29.6506, 23.9375, 95.9673)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7CFD #FDE05F
analogous
#5FCBFD #5F7CFD #915FFD
triadic
#5F7CFD #FD5F7C #7CFD5F
tetradic
#5F7CFD #FD5FCB #FDE05F #5FFD91
square
#5F7CFD #FD5FCB #FDE05F #5FFD91
split-complementary
#5F7CFD #FD915F #CBFD5F
monochromatic
#032BDF #234BFC #5F7CFD #9BADFE #D8DFFF

Accessibility & contrast

On white

3.63
#5F7CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5F7CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7CFD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7CFD#FFFFFF#000000##000000
##5F7CFD1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#0080FA
Tritanopia (blue-blind)
#009AB1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f7cfd;
/* rgb */ color: rgb(95, 124, 253);
/* oklch */ color: oklch(63.2% 0.194 270.4);
Tailwind
colors: {
  custom: {
    50: '#9ba1ff',
    500: '#5f7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #5f7cfd;
$custom-light: #9ba1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7cfd",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 228.987,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63166,
    "c": 0.1938,
    "h": 270.4
  },
  "luminance": 0.2394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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