#5F99EB#5F99EB

#5F99EB is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.136 H 257.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5F99EB
RGBrgb(95, 153, 235)
HSLhsl(215, 78%, 65%)
HSVhsv(215, 60%, 92%)
CMYKcmyk(59.6%, 34.9%, 0%, 7.8%)
CIE-LABlab(62.69, 5.39, -47.01)
CIE-LCHlch(62.69, 47.32, 276.54°)
OKLaboklab(67.96% -0.0302 -0.1331)
OKLCHoklch(67.96% 0.136 257.2)
XYZxyz(31.1006, 31.2108, 82.9665)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99EB #EBB15F
analogous
#5FDFEB #5F99EB #6B5FEB
triadic
#5F99EB #EB5F99 #99EB5F
tetradic
#5F99EB #EB5FDF #EBB15F #5FEB6B
square
#5F99EB #EB5FDF #EBB15F #5FEB6B
split-complementary
#5F99EB #EB6B5F #DFEB5F
monochromatic
#175AB9 #2976E4 #5F99EB #95BCF2 #CCDEF9

Accessibility & contrast

On white

2.90
#5F99EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5F99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99EB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99EB#FFFFFF#000000##000000
##5F99EB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEE
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f99eb;
/* rgb */ color: rgb(95, 153, 235);
/* oklch */ color: oklch(68.0% 0.136 257.2);
Tailwind
colors: {
  custom: {
    50: '#97b6f2',
    500: '#5f99eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f99eb;
$custom-light: #97b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99eb",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 215.143,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67957,
    "c": 0.13649,
    "h": 257.2
  },
  "luminance": 0.31214
}

Semantic roles & 50–950 ramp

primary
#5F99EB
secondary
#EBD7BB
accent
#840BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5F99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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