#5F9BF2#5F9BF2

#5F9BF2 is a light, vivid blue. Relative luminance 0.323; OKLCH L 68.8% C 0.144 H 257.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5F9BF2
RGBrgb(95, 155, 242)
HSLhsl(216, 85%, 66%)
HSVhsv(216, 61%, 95%)
CMYKcmyk(60.7%, 36%, 0%, 5.1%)
CIE-LABlab(63.58, 6.50, -49.45)
CIE-LCHlch(63.58, 49.88, 277.49°)
OKLaboklab(68.76% -0.0306 -0.1402)
OKLCHoklch(68.76% 0.144 257.7)
XYZxyz(32.4620, 32.2834, 88.5078)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9BF2 #F2B65F
analogous
#5FE5F2 #5F9BF2 #6C5FF2
triadic
#5F9BF2 #F25F9B #9BF25F
tetradic
#5F9BF2 #F25FE5 #F2B65F #5FF26C
square
#5F9BF2 #F25FE5 #F2B65F #5FF26C
split-complementary
#5F9BF2 #F26C5F #E5F25F
monochromatic
#105BC6 #2678ED #5F9BF2 #98BEF7 #D0E2FB

Accessibility & contrast

On white

2.82
#5F9BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#5F9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9BF2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9BF2#FFFFFF#000000##000000
##5F9BF21.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#00AFBB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f9bf2;
/* rgb */ color: rgb(95, 155, 242);
/* oklch */ color: oklch(68.8% 0.144 257.7);
Tailwind
colors: {
  custom: {
    50: '#98b8f7',
    500: '#5f9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5f9bf2;
$custom-light: #98b8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9bf2",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 215.51,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68763,
    "c": 0.14352,
    "h": 257.7
  },
  "luminance": 0.32286
}

Semantic roles & 50–950 ramp

primary
#5F9BF2
secondary
#EFDBBE
accent
#8704E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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