#5F9CFA#5F9CFA

#5F9CFA is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.4% C 0.153 H 258.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5F9CFA
RGBrgb(95, 156, 250)
HSLhsl(216, 94%, 68%)
HSVhsv(216, 62%, 98%)
CMYKcmyk(62%, 37.6%, 0%, 2%)
CIE-LABlab(64.25, 8.54, -52.77)
CIE-LCHlch(64.25, 53.46, 279.19°)
OKLaboklab(69.42% -0.0297 -0.1499)
OKLCHoklch(69.42% 0.153 258.8)
XYZxyz(33.8570, 33.1088, 95.0303)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CFA #FABD5F
analogous
#5FE9FA #5F9CFA #6F5FFA
triadic
#5F9CFA #FA5F9C #9CFA5F
tetradic
#5F9CFA #FA5FE9 #FABD5F #5FFA6F
square
#5F9CFA #FA5FE9 #FABD5F #5FFA6F
split-complementary
#5F9CFA #FA6F5F #E9FA5F
monochromatic
#0759D8 #2477F8 #5F9CFA #9AC1FC #D6E5FE

Accessibility & contrast

On white

2.76
#5F9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#5F9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CFA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CFA#FFFFFF#000000##000000
##5F9CFA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#00B1BF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5f9cfa;
/* rgb */ color: rgb(95, 156, 250);
/* oklch */ color: oklch(69.4% 0.153 258.8);
Tailwind
colors: {
  custom: {
    50: '#99b8fc',
    500: '#5f9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #5f9cfa;
$custom-light: #99b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9cfa",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 216.387,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.15283,
    "h": 258.8
  },
  "luminance": 0.33112
}

Semantic roles & 50–950 ramp

primary
#5F9CFA
secondary
#F2E0C2
accent
#8B00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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