#5F94F5#5F94F5

#5F94F5 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.5% C 0.155 H 261.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5F94F5
RGBrgb(95, 148, 245)
HSLhsl(219, 88%, 67%)
HSVhsv(219, 61%, 96%)
CMYKcmyk(61.2%, 39.6%, 0%, 3.9%)
CIE-LABlab(61.83, 11.59, -53.87)
CIE-LCHlch(61.83, 55.10, 282.14°)
OKLaboklab(67.46% -0.0228 -0.1532)
OKLCHoklch(67.46% 0.155 261.5)
XYZxyz(31.7849, 30.2024, 90.5231)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F94F5 #F5C05F
analogous
#5FDFF5 #5F94F5 #755FF5
triadic
#5F94F5 #F55F94 #94F55F
tetradic
#5F94F5 #F55FDF #F5C05F #5FF575
square
#5F94F5 #F55FDF #F5C05F #5FF575
split-complementary
#5F94F5 #F5755F #DFF55F
monochromatic
#0D51CD #256DF1 #5F94F5 #99BBF9 #D2E1FC

Accessibility & contrast

On white

2.98
#5F94F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5F94F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F94F5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F94F5#FFFFFF#000000##000000
##5F94F51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#00AAB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f94f5;
/* rgb */ color: rgb(95, 148, 245);
/* oklch */ color: oklch(67.5% 0.155 261.5);
Tailwind
colors: {
  custom: {
    50: '#99b2f9',
    500: '#5f94f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f94f5;
$custom-light: #99b2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f94f5",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 245
  },
  "hsl": {
    "h": 218.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67456,
    "c": 0.15492,
    "h": 261.5
  },
  "luminance": 0.30205
}

Semantic roles & 50–950 ramp

primary
#5F94F5
secondary
#F0DFC0
accent
#9401E5
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1017
muted
#7F7F85

Preview Lab

Preview with #5F94F5

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

Preview Lab → · Contrast checker → · Palette generator →

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