#5F94EF#5F94EF

#5F94EF is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.1% C 0.147 H 260.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5F94EF
RGBrgb(95, 148, 239)
HSLhsl(218, 82%, 65%)
HSVhsv(218, 60%, 94%)
CMYKcmyk(60.3%, 38.1%, 0%, 6.3%)
CIE-LABlab(61.52, 9.62, -51.06)
CIE-LCHlch(61.52, 51.96, 280.66°)
OKLaboklab(67.11% -0.0241 -0.145)
OKLCHoklch(67.11% 0.147 260.6)
XYZxyz(30.8837, 29.8420, 85.7772)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F94EF #EFBA5F
analogous
#5FDCEF #5F94EF #725FEF
triadic
#5F94EF #EF5F94 #94EF5F
tetradic
#5F94EF #EF5FDC #EFBA5F #5FEF72
square
#5F94EF #EF5FDC #EFBA5F #5FEF72
split-complementary
#5F94EF #EF725F #DCEF5F
monochromatic
#1353C0 #276FE9 #5F94EF #97B9F5 #CEDEFA

Accessibility & contrast

On white

3.01
#5F94EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5F94EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F94EF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F94EF#FFFFFF#000000##000000
##5F94EF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#00A8B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f94ef;
/* rgb */ color: rgb(95, 148, 239);
/* oklch */ color: oklch(67.1% 0.147 260.6);
Tailwind
colors: {
  custom: {
    50: '#98b3f5',
    500: '#5f94ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f94ef;
$custom-light: #98b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f94ef",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 239
  },
  "hsl": {
    "h": 217.917,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67114,
    "c": 0.14699,
    "h": 260.6
  },
  "luminance": 0.29845
}

Semantic roles & 50–950 ramp

primary
#5F94EF
secondary
#EDDBBD
accent
#8F07DE
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F94EF

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

Preview Lab → · Contrast checker → · Palette generator →

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