#5F94F8#5F94F8

#5F94F8 is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.6% C 0.159 H 262.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5F94F8
RGBrgb(95, 148, 248)
HSLhsl(219, 92%, 67%)
HSVhsv(219, 62%, 97%)
CMYKcmyk(61.7%, 40.3%, 0%, 2.7%)
CIE-LABlab(61.99, 12.58, -55.27)
CIE-LCHlch(61.99, 56.68, 282.82°)
OKLaboklab(67.63% -0.0222 -0.1573)
OKLCHoklch(67.63% 0.159 262)
XYZxyz(32.2466, 30.3871, 92.9547)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F94F8 #F8C35F
analogous
#5FE0F8 #5F94F8 #775FF8
triadic
#5F94F8 #F85F94 #94F85F
tetradic
#5F94F8 #F85FE0 #F8C35F #5FF877
square
#5F94F8 #F85FE0 #F8C35F #5FF877
split-complementary
#5F94F8 #F8775F #E0F85F
monochromatic
#094FD3 #246DF5 #5F94F8 #9ABBFB #D4E2FD

Accessibility & contrast

On white

2.97
#5F94F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5F94F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F94F8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F94F8#FFFFFF#000000##000000
##5F94F81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f94f8;
/* rgb */ color: rgb(95, 148, 248);
/* oklch */ color: oklch(67.6% 0.159 262.0);
Tailwind
colors: {
  custom: {
    50: '#99b2fb',
    500: '#5f94f8',
    950: '#000000',
  },
}
SCSS
$custom: #5f94f8;
$custom-light: #99b2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f94f8",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 219.216,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6763,
    "c": 0.15888,
    "h": 262
  },
  "luminance": 0.3039
}

Semantic roles & 50–950 ramp

primary
#5F94F8
secondary
#F2E1C1
accent
#9600E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F94F8

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

Preview Lab → · Contrast checker → · Palette generator →

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