#5A91F2#5A91F2

#5A91F2 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.4% C 0.156 H 260.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5A91F2
RGBrgb(90, 145, 242)
HSLhsl(218, 85%, 65%)
HSVhsv(218, 63%, 95%)
CMYKcmyk(62.8%, 40.1%, 0%, 5.1%)
CIE-LABlab(60.63, 11.48, -54.14)
CIE-LCHlch(60.63, 55.34, 281.98°)
OKLaboklab(66.42% -0.0246 -0.1541)
OKLCHoklch(66.42% 0.156 260.9)
XYZxyz(30.3632, 28.8324, 87.9523)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91F2 #F2BB5A
analogous
#5ADDF2 #5A91F2 #6F5AF2
triadic
#5A91F2 #F25A91 #91F25A
tetradic
#5A91F2 #F25ADD #F2BB5A #5AF26F
square
#5A91F2 #F25ADD #F2BB5A #5AF26F
split-complementary
#5A91F2 #F26F5A #DDF25A
monochromatic
#0F50C2 #216BEE #5A91F2 #93B7F6 #CBDDFB

Accessibility & contrast

On white

3.10
#5A91F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5A91F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91F2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91F2#FFFFFF#000000##000000
##5A91F21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#4F8CF0
Tritanopia (blue-blind)
#00A7B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a91f2;
/* rgb */ color: rgb(90, 145, 242);
/* oklch */ color: oklch(66.4% 0.156 260.9);
Tailwind
colors: {
  custom: {
    50: '#96b0f7',
    500: '#5a91f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a91f2;
$custom-light: #96b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91f2",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 218.289,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66418,
    "c": 0.15607,
    "h": 260.9
  },
  "luminance": 0.28835
}

Semantic roles & 50–950 ramp

primary
#5A91F2
secondary
#EEDBBA
accent
#9104E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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