#5F94EB#5F94EB

#5F94EB is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.9% C 0.142 H 259.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5F94EB
RGBrgb(95, 148, 235)
HSLhsl(217, 78%, 65%)
HSVhsv(217, 60%, 92%)
CMYKcmyk(59.6%, 37%, 0%, 7.8%)
CIE-LABlab(61.31, 8.31, -49.18)
CIE-LCHlch(61.31, 49.87, 279.59°)
OKLaboklab(66.89% -0.025 -0.1395)
OKLCHoklch(66.89% 0.142 259.8)
XYZxyz(30.2994, 29.6082, 82.6994)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F94EB #EBB65F
analogous
#5FDAEB #5F94EB #705FEB
triadic
#5F94EB #EB5F94 #94EB5F
tetradic
#5F94EB #EB5FDA #EBB65F #5FEB70
square
#5F94EB #EB5FDA #EBB65F #5FEB70
split-complementary
#5F94EB #EB705F #DAEB5F
monochromatic
#1754B9 #2970E4 #5F94EB #95B8F2 #CCDDF9

Accessibility & contrast

On white

3.03
#5F94EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#5F94EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F94EB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F94EB#FFFFFF#000000##000000
##5F94EB1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5f94eb;
/* rgb */ color: rgb(95, 148, 235);
/* oklch */ color: oklch(66.9% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#97b3f2',
    500: '#5f94eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f94eb;
$custom-light: #97b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f94eb",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 217.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6689,
    "c": 0.1417,
    "h": 259.8
  },
  "luminance": 0.29611
}

Semantic roles & 50–950 ramp

primary
#5F94EB
secondary
#EBD9BB
accent
#8C0BDA
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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