#5F97F4#5F97F4

#5F97F4 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.0% C 0.150 H 260.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5F97F4
RGBrgb(95, 151, 244)
HSLhsl(217, 87%, 66%)
HSVhsv(217, 61%, 96%)
CMYKcmyk(61.1%, 38.1%, 0%, 4.3%)
CIE-LABlab(62.59, 9.49, -52.12)
CIE-LCHlch(62.59, 52.98, 280.32°)
OKLaboklab(68.03% -0.026 -0.148)
OKLCHoklch(68.03% 0.15 260)
XYZxyz(32.1093, 31.0949, 89.8802)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97F4 #F4BC5F
analogous
#5FE1F4 #5F97F4 #725FF4
triadic
#5F97F4 #F45F97 #97F45F
tetradic
#5F97F4 #F45FE1 #F4BC5F #5FF472
square
#5F97F4 #F45FE1 #F4BC5F #5FF472
split-complementary
#5F97F4 #F4725F #E1F45F
monochromatic
#0E55CB #2672F0 #5F97F4 #98BCF8 #D2E1FC

Accessibility & contrast

On white

2.91
#5F97F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5F97F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97F4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97F4#FFFFFF#000000##000000
##5F97F41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f97f4;
/* rgb */ color: rgb(95, 151, 244);
/* oklch */ color: oklch(68.0% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#98b5f8',
    500: '#5f97f4',
    950: '#000000',
  },
}
SCSS
$custom: #5f97f4;
$custom-light: #98b5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97f4",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 217.45,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.15032,
    "h": 260
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#5F97F4
secondary
#F0DDBF
accent
#8F02E4
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F97F4

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

Preview Lab → · Contrast checker → · Palette generator →

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