#5F96FA#5F96FA

#5F96FA is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.2% C 0.159 H 261.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5F96FA
RGBrgb(95, 150, 250)
HSLhsl(219, 94%, 68%)
HSVhsv(219, 62%, 98%)
CMYKcmyk(62%, 40%, 0%, 2%)
CIE-LABlab(62.63, 12.06, -55.34)
CIE-LCHlch(62.63, 56.64, 282.29°)
OKLaboklab(68.16% -0.0238 -0.1575)
OKLCHoklch(68.16% 0.159 261.4)
XYZxyz(32.8749, 31.1447, 94.7030)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F96FA #FAC35F
analogous
#5FE3FA #5F96FA #765FFA
triadic
#5F96FA #FA5F96 #96FA5F
tetradic
#5F96FA #FA5FE3 #FAC35F #5FFA76
square
#5F96FA #FA5FE3 #FAC35F #5FFA76
split-complementary
#5F96FA #FA765F #E3FA5F
monochromatic
#0751D8 #246FF8 #5F96FA #9ABDFC #D6E4FE

Accessibility & contrast

On white

2.90
#5F96FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5F96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F96FA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F96FA#FFFFFF#000000##000000
##5F96FA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f96fa;
/* rgb */ color: rgb(95, 150, 250);
/* oklch */ color: oklch(68.2% 0.159 261.4);
Tailwind
colors: {
  custom: {
    50: '#99b4fc',
    500: '#5f96fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f96fa;
$custom-light: #99b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f96fa",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 218.71,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.1593,
    "h": 261.4
  },
  "luminance": 0.31148
}

Semantic roles & 50–950 ramp

primary
#5F96FA
secondary
#F2E1C2
accent
#9400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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