#5F9BFA#5F9BFA

#5F9BFA is a light, vivid blue. Relative luminance 0.328; OKLCH L 69.2% C 0.154 H 259.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5F9BFA
RGBrgb(95, 155, 250)
HSLhsl(217, 94%, 68%)
HSVhsv(217, 62%, 98%)
CMYKcmyk(62%, 38%, 0%, 2%)
CIE-LABlab(63.98, 9.12, -53.20)
CIE-LCHlch(63.98, 53.98, 279.73°)
OKLaboklab(69.21% -0.0288 -0.1512)
OKLCHoklch(69.21% 0.154 259.2)
XYZxyz(33.6899, 32.7746, 94.9746)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9BFA #FABE5F
analogous
#5FE9FA #5F9BFA #705FFA
triadic
#5F9BFA #FA5F9B #9BFA5F
tetradic
#5F9BFA #FA5FE9 #FABE5F #5FFA70
square
#5F9BFA #FA5FE9 #FABE5F #5FFA70
split-complementary
#5F9BFA #FA705F #E9FA5F
monochromatic
#0758D8 #2476F8 #5F9BFA #9AC0FC #D6E5FE

Accessibility & contrast

On white

2.78
#5F9BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#5F9BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9BFA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9BFA#FFFFFF#000000##000000
##5F9BFA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#00B1BE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5f9bfa;
/* rgb */ color: rgb(95, 155, 250);
/* oklch */ color: oklch(69.2% 0.154 259.2);
Tailwind
colors: {
  custom: {
    50: '#99b8fc',
    500: '#5f9bfa',
    950: '#000000',
  },
}
SCSS
$custom: #5f9bfa;
$custom-light: #99b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9bfa",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 216.774,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69207,
    "c": 0.15389,
    "h": 259.2
  },
  "luminance": 0.32778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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