#5F95EF#5F95EF

#5F95EF is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.3% C 0.146 H 260.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5F95EF
RGBrgb(95, 149, 239)
HSLhsl(218, 82%, 65%)
HSVhsv(218, 60%, 94%)
CMYKcmyk(60.3%, 37.7%, 0%, 6.3%)
CIE-LABlab(61.79, 9.03, -50.63)
CIE-LCHlch(61.79, 51.43, 280.11°)
OKLaboklab(67.33% -0.0251 -0.1437)
OKLCHoklch(67.33% 0.146 260.1)
XYZxyz(31.0413, 30.1570, 85.8297)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95EF #EFB95F
analogous
#5FDDEF #5F95EF #715FEF
triadic
#5F95EF #EF5F95 #95EF5F
tetradic
#5F95EF #EF5FDD #EFB95F #5FEF71
square
#5F95EF #EF5FDD #EFB95F #5FEF71
split-complementary
#5F95EF #EF715F #DDEF5F
monochromatic
#1354C0 #2770E9 #5F95EF #97BAF5 #CEDFFA

Accessibility & contrast

On white

2.99
#5F95EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5F95EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95EF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95EF#FFFFFF#000000##000000
##5F95EF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f95ef;
/* rgb */ color: rgb(95, 149, 239);
/* oklch */ color: oklch(67.3% 0.146 260.1);
Tailwind
colors: {
  custom: {
    50: '#98b3f4',
    500: '#5f95ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f95ef;
$custom-light: #98b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95ef",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 217.5,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67325,
    "c": 0.14591,
    "h": 260.1
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#5F95EF
secondary
#EDDBBD
accent
#8E07DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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