#5F73BB#5F73BB

#5F73BB is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.2% C 0.114 H 270.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5F73BB
RGBrgb(95, 115, 187)
HSLhsl(227, 40%, 55%)
HSVhsv(227, 49%, 73%)
CMYKcmyk(49.2%, 38.5%, 0%, 26.7%)
CIE-LABlab(49.84, 12.71, -40.26)
CIE-LCHlch(49.84, 42.22, 287.52°)
OKLaboklab(57.21% 0.0014 -0.1137)
OKLCHoklch(57.21% 0.114 270.7)
XYZxyz(19.8168, 18.2810, 49.4884)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F73BB #BBA75F
analogous
#5FA1BB #5F73BB #795FBB
triadic
#5F73BB #BB5F73 #73BB5F
tetradic
#5F73BB #BB5FA1 #BBA75F #5FBB79
square
#5F73BB #BB5FA1 #BBA75F #5FBB79
split-complementary
#5F73BB #BB795F #A1BB5F
monochromatic
#303E70 #42559B #5F73BB #8A99CD #B5BEE0

Accessibility & contrast

On white

4.51
#5F73BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5F73BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F73BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F73BB#FFFFFF#000000##000000
##5F73BB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBE
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#3A828E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f73bb;
/* rgb */ color: rgb(95, 115, 187);
/* oklch */ color: oklch(57.2% 0.114 270.7);
Tailwind
colors: {
  custom: {
    50: '#929bd0',
    500: '#5f73bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f73bb;
$custom-light: #929bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f73bb",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 226.957,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.11374,
    "h": 270.7
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

primary
#5F73BB
secondary
#CEC6A8
accent
#B658D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F73BB

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

Preview Lab → · Contrast checker → · Palette generator →

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