#5795FF#5795FF

#5795FF is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.9% C 0.170 H 260.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5795FF
RGBrgb(87, 149, 255)
HSLhsl(218, 100%, 67%)
HSVhsv(218, 66%, 100%)
CMYKcmyk(65.9%, 41.6%, 0%, 0%)
CIE-LABlab(62.29, 12.99, -58.65)
CIE-LCHlch(62.29, 60.07, 282.49°)
OKLaboklab(67.89% -0.0282 -0.1673)
OKLCHoklch(67.89% 0.17 260.4)
XYZxyz(32.7215, 30.7379, 98.7969)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5795FF #FFC157
analogous
#57E9FF #5795FF #6D57FF
triadic
#5795FF #FF5795 #95FF57
tetradic
#5795FF #FF57E9 #FFC157 #57FF6D
square
#5795FF #FF57E9 #FFC157 #57FF6D
split-complementary
#5795FF #FF6D57 #E9FF57
monochromatic
#0051DC #1A6EFF #5795FF #94BCFF #D1E2FF

Accessibility & contrast

On white

2.94
#5795FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5795FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5795FF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5795FF#FFFFFF#000000##000000
##5795FF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#488FFD
Tritanopia (blue-blind)
#00ADBE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5795ff;
/* rgb */ color: rgb(87, 149, 255);
/* oklch */ color: oklch(67.9% 0.170 260.4);
Tailwind
colors: {
  custom: {
    50: '#96b3ff',
    500: '#5795ff',
    950: '#000000',
  },
}
SCSS
$custom: #5795ff;
$custom-light: #96b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5795ff",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 217.857,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67889,
    "c": 0.16972,
    "h": 260.4
  },
  "luminance": 0.30741
}

Semantic roles & 50–950 ramp

primary
#5795FF
secondary
#F4E0BE
accent
#9100E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5795FF

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

Preview Lab → · Contrast checker → · Palette generator →

#5795FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva