#5894F1#5894F1

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

Color values

HEX#5894F1
RGBrgb(88, 148, 241)
HSLhsl(216, 85%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(63.5%, 38.6%, 0%, 5.5%)
CIE-LABlab(61.31, 9.03, -52.52)
CIE-LCHlch(61.31, 53.29, 279.76°)
OKLaboklab(66.9% -0.0294 -0.1494)
OKLCHoklch(66.9% 0.152 258.9)
XYZxyz(30.4859, 29.6025, 87.3093)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5894F1 #F1B558
analogous
#58E0F1 #5894F1 #6958F1
triadic
#5894F1 #F15894 #94F158
tetradic
#5894F1 #F158E0 #F1B558 #58F169
square
#5894F1 #F158E0 #F1B558 #58F169
split-complementary
#5894F1 #F16958 #E0F158
monochromatic
#1054BF #2070EC #5894F1 #90B8F6 #C9DCFA

Accessibility & contrast

On white

3.03
#5894F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#5894F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5894F1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5894F1#FFFFFF#000000##000000
##5894F11.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)
#6B9CF5
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#00A9B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5894f1;
/* rgb */ color: rgb(88, 148, 241);
/* oklch */ color: oklch(66.9% 0.152 258.9);
Tailwind
colors: {
  custom: {
    50: '#95b2f6',
    500: '#5894f1',
    950: '#000000',
  },
}
SCSS
$custom: #5894f1;
$custom-light: #95b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5894f1",
  "rgb": {
    "r": 88,
    "g": 148,
    "b": 241
  },
  "hsl": {
    "h": 216.471,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66901,
    "c": 0.15222,
    "h": 258.9
  },
  "luminance": 0.29605
}

Semantic roles & 50–950 ramp

primary
#5894F1
secondary
#EDD8B8
accent
#8B05E1
background
#F9FAFF
surface
#F2F5FE
border
#CCCFD6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5894F1

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

Preview Lab → · Contrast checker → · Palette generator →

#5894F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva