#5F94EE#5F94EE

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

Color values

HEX#5F94EE
RGBrgb(95, 148, 238)
HSLhsl(218, 81%, 65%)
HSVhsv(218, 60%, 93%)
CMYKcmyk(60.1%, 37.8%, 0%, 6.7%)
CIE-LABlab(61.47, 9.29, -50.59)
CIE-LCHlch(61.47, 51.44, 280.40°)
OKLaboklab(67.06% -0.0243 -0.1436)
OKLCHoklch(67.06% 0.146 260.4)
XYZxyz(30.7364, 29.7830, 85.0013)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F94EE #EEB95F
analogous
#5FDCEE #5F94EE #715FEE
triadic
#5F94EE #EE5F94 #94EE5F
tetradic
#5F94EE #EE5FDC #EEB95F #5FEE71
square
#5F94EE #EE5FDC #EEB95F #5FEE71
split-complementary
#5F94EE #EE715F #DCEE5F
monochromatic
#1453BE #286FE8 #5F94EE #96B9F4 #CEDEFA

Accessibility & contrast

On white

3.02
#5F94EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5F94EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F94EE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F94EE#FFFFFF#000000##000000
##5F94EE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF2
Deuteranopia (green-blind)
#5A8EEC
Tritanopia (blue-blind)
#00A8B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5f94ee;
/* rgb */ color: rgb(95, 148, 238);
/* oklch */ color: oklch(67.1% 0.146 260.4);
Tailwind
colors: {
  custom: {
    50: '#98b3f4',
    500: '#5f94ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f94ee;
$custom-light: #98b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f94ee",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 238
  },
  "hsl": {
    "h": 217.762,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67058,
    "c": 0.14566,
    "h": 260.4
  },
  "luminance": 0.29786
}

Semantic roles & 50–950 ramp

primary
#5F94EE
secondary
#ECDBBC
accent
#8E08DD
background
#F9FAFE
surface
#F2F5FD
border
#CCCFD5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F94EE

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

Preview Lab → · Contrast checker → · Palette generator →

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