#5895F6#5895F6

#5895F6 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.4% C 0.158 H 259.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5895F6
RGBrgb(88, 149, 246)
HSLhsl(217, 90%, 65%)
HSVhsv(217, 64%, 96%)
CMYKcmyk(64.2%, 39.4%, 0%, 3.5%)
CIE-LABlab(61.84, 10.12, -54.42)
CIE-LCHlch(61.84, 55.35, 280.53°)
OKLaboklab(67.4% -0.0293 -0.1549)
OKLCHoklch(67.4% 0.158 259.3)
XYZxyz(31.4006, 30.2204, 91.3492)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5895F6 #F6B958
analogous
#58E4F6 #5895F6 #6A58F6
triadic
#5895F6 #F65895 #95F658
tetradic
#5895F6 #F658E4 #F6B958 #58F66A
square
#5895F6 #F658E4 #F6B958 #58F66A
split-complementary
#5895F6 #F66A58 #E4F658
monochromatic
#0B54C9 #1E70F3 #5895F6 #92BAF9 #CCDFFC

Accessibility & contrast

On white

2.98
#5895F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5895F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5895F6
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5895F6#FFFFFF#000000##000000
##5895F61.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)
#699DFA
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#00ABBA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5895f6;
/* rgb */ color: rgb(88, 149, 246);
/* oklch */ color: oklch(67.4% 0.158 259.3);
Tailwind
colors: {
  custom: {
    50: '#95b3f9',
    500: '#5895f6',
    950: '#000000',
  },
}
SCSS
$custom: #5895f6;
$custom-light: #95b3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5895f6",
  "rgb": {
    "r": 88,
    "g": 149,
    "b": 246
  },
  "hsl": {
    "h": 216.835,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67401,
    "c": 0.15766,
    "h": 259.3
  },
  "luminance": 0.30223
}

Semantic roles & 50–950 ramp

primary
#5895F6
secondary
#EFDBBA
accent
#8D00E6
background
#F9FAFF
surface
#F2F5FF
border
#CCCFD7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5895F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5895F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva