#5A91F3#5A91F3

#5A91F3 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.5% C 0.157 H 261.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5A91F3
RGBrgb(90, 145, 243)
HSLhsl(218, 86%, 65%)
HSVhsv(218, 63%, 95%)
CMYKcmyk(63%, 40.3%, 0%, 4.7%)
CIE-LABlab(60.69, 11.82, -54.60)
CIE-LCHlch(60.69, 55.87, 282.21°)
OKLaboklab(66.48% -0.0244 -0.1555)
OKLCHoklch(66.48% 0.157 261.1)
XYZxyz(30.5138, 28.8927, 88.7454)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91F3 #F3BC5A
analogous
#5ADEF3 #5A91F3 #6F5AF3
triadic
#5A91F3 #F35A91 #91F35A
tetradic
#5A91F3 #F35ADE #F3BC5A #5AF36F
square
#5A91F3 #F35ADE #F3BC5A #5AF36F
split-complementary
#5A91F3 #F36F5A #DEF35A
monochromatic
#0E50C4 #216BEF #5A91F3 #93B7F7 #CCDDFB

Accessibility & contrast

On white

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

On black

6.78
#5A91F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91F3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91F3#FFFFFF#000000##000000
##5A91F31.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#4E8CF1
Tritanopia (blue-blind)
#00A7B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a91f3;
/* rgb */ color: rgb(90, 145, 243);
/* oklch */ color: oklch(66.5% 0.157 261.1);
Tailwind
colors: {
  custom: {
    50: '#96b0f7',
    500: '#5a91f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a91f3;
$custom-light: #96b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91f3",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 243
  },
  "hsl": {
    "h": 218.431,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66477,
    "c": 0.15739,
    "h": 261.1
  },
  "luminance": 0.28896
}

Semantic roles & 50–950 ramp

primary
#5A91F3
secondary
#EEDCBB
accent
#9203E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A91F3

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

Preview Lab → · Contrast checker → · Palette generator →

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