#5A66BE#5A66BE

#5A66BE is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.4% C 0.137 H 275.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5A66BE
RGBrgb(90, 102, 190)
HSLhsl(233, 43%, 55%)
HSVhsv(233, 53%, 75%)
CMYKcmyk(52.6%, 46.3%, 0%, 25.5%)
CIE-LABlab(46.17, 20.54, -47.85)
CIE-LCHlch(46.17, 52.07, 293.23°)
OKLaboklab(54.37% 0.0121 -0.1361)
OKLCHoklch(54.37% 0.137 275.1)
XYZxyz(18.2591, 15.3929, 50.7142)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A66BE #BEB25A
analogous
#5A98BE #5A66BE #805ABE
triadic
#5A66BE #BE5A66 #66BE5A
tetradic
#5A66BE #BE5A98 #BEB25A #5ABE80
square
#5A66BE #BE5A98 #BEB25A #5ABE80
split-complementary
#5A66BE #BE805A #98BE5A
monochromatic
#2D3571 #3E499D #5A66BE #868FCF #B2B7E1

Accessibility & contrast

On white

5.15
#5A66BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5A66BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A66BE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A66BE#FFFFFF#000000##FFFFFF
##5A66BE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#2D7989
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a66be;
/* rgb */ color: rgb(90, 102, 190);
/* oklch */ color: oklch(54.4% 0.137 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f91d2',
    500: '#5a66be',
    950: '#000000',
  },
}
SCSS
$custom: #5a66be;
$custom-light: #8f91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a66be",
  "rgb": {
    "r": 90,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 232.8,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.13666,
    "h": 275.1
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#5A66BE
secondary
#CFCAA5
accent
#C455D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A66BE

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

Preview Lab → · Contrast checker → · Palette generator →

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