#5F9CF2#5F9CF2

#5F9CF2 is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.0% C 0.142 H 257.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5F9CF2
RGBrgb(95, 156, 242)
HSLhsl(215, 85%, 66%)
HSVhsv(215, 61%, 95%)
CMYKcmyk(60.7%, 35.5%, 0%, 5.1%)
CIE-LABlab(63.85, 5.92, -49.02)
CIE-LCHlch(63.85, 49.38, 276.88°)
OKLaboklab(68.98% -0.0316 -0.1389)
OKLCHoklch(68.98% 0.142 257.2)
XYZxyz(32.6291, 32.6177, 88.5635)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CF2 #F2B55F
analogous
#5FE5F2 #5F9CF2 #6B5FF2
triadic
#5F9CF2 #F25F9C #9CF25F
tetradic
#5F9CF2 #F25FE5 #F2B55F #5FF26B
square
#5F9CF2 #F25FE5 #F2B55F #5FF26B
split-complementary
#5F9CF2 #F26B5F #E5F25F
monochromatic
#105CC6 #2679ED #5F9CF2 #98BFF7 #D0E2FB

Accessibility & contrast

On white

2.79
#5F9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#5F9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CF2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CF2#FFFFFF#000000##000000
##5F9CF21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#00B0BC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5f9cf2;
/* rgb */ color: rgb(95, 156, 242);
/* oklch */ color: oklch(69.0% 0.142 257.2);
Tailwind
colors: {
  custom: {
    50: '#98b8f7',
    500: '#5f9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5f9cf2;
$custom-light: #98b8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9cf2",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 215.102,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.14249,
    "h": 257.2
  },
  "luminance": 0.32621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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