#5F9BF4#5F9BF4

#5F9BF4 is a light, vivid blue. Relative luminance 0.324; OKLCH L 68.9% C 0.146 H 258.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5F9BF4
RGBrgb(95, 155, 244)
HSLhsl(216, 87%, 66%)
HSVhsv(216, 61%, 96%)
CMYKcmyk(61.1%, 36.5%, 0%, 4.3%)
CIE-LABlab(63.68, 7.15, -50.39)
CIE-LCHlch(63.68, 50.90, 278.08°)
OKLaboklab(68.87% -0.0301 -0.143)
OKLCHoklch(68.87% 0.146 258.1)
XYZxyz(32.7640, 32.4042, 90.0984)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9BF4 #F4B85F
analogous
#5FE6F4 #5F9BF4 #6E5FF4
triadic
#5F9BF4 #F45F9B #9BF45F
tetradic
#5F9BF4 #F45FE6 #F4B85F #5FF46E
square
#5F9BF4 #F45FE6 #F4B85F #5FF46E
split-complementary
#5F9BF4 #F46E5F #E6F45F
monochromatic
#0E5ACB #2677F0 #5F9BF4 #98BFF8 #D2E3FC

Accessibility & contrast

On white

2.81
#5F9BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#5F9BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9BF4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9BF4#FFFFFF#000000##000000
##5F9BF41.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F8
Deuteranopia (green-blind)
#6094F2
Tritanopia (blue-blind)
#00AFBC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f9bf4;
/* rgb */ color: rgb(95, 155, 244);
/* oklch */ color: oklch(68.9% 0.146 258.1);
Tailwind
colors: {
  custom: {
    50: '#98b8f8',
    500: '#5f9bf4',
    950: '#000000',
  },
}
SCSS
$custom: #5f9bf4;
$custom-light: #98b8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9bf4",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 244
  },
  "hsl": {
    "h": 215.839,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68873,
    "c": 0.14611,
    "h": 258.1
  },
  "luminance": 0.32407
}

Semantic roles & 50–950 ramp

primary
#5F9BF4
secondary
#F0DCBF
accent
#8902E4
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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