#5F64BB#5F64BB

#5F64BB is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.134 H 278.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5F64BB
RGBrgb(95, 100, 187)
HSLhsl(237, 40%, 55%)
HSVhsv(237, 49%, 73%)
CMYKcmyk(49.2%, 46.5%, 0%, 26.7%)
CIE-LABlab(45.82, 21.97, -46.65)
CIE-LCHlch(45.82, 51.56, 295.22°)
OKLaboklab(54.14% 0.0197 -0.1325)
OKLCHoklch(54.14% 0.134 278.4)
XYZxyz(18.2434, 15.1341, 48.9639)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F64BB #BBB65F
analogous
#5F92BB #5F64BB #885FBB
triadic
#5F64BB #BB5F64 #64BB5F
tetradic
#5F64BB #BB5F92 #BBB65F #5FBB88
square
#5F64BB #BB5F92 #BBB65F #5FBB88
split-complementary
#5F64BB #BB885F #92BB5F
monochromatic
#303370 #42479B #5F64BB #8A8ECD #B5B7E0

Accessibility & contrast

On white

5.21
#5F64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5F64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F64BB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F64BB#FFFFFF#000000##FFFFFF
##5F64BB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#3C7786
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f64bb;
/* rgb */ color: rgb(95, 100, 187);
/* oklch */ color: oklch(54.1% 0.134 278.4);
Tailwind
colors: {
  custom: {
    50: '#9290d0',
    500: '#5f64bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f64bb;
$custom-light: #9290d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f64bb",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 236.739,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.13396,
    "h": 278.4
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#5F64BB
secondary
#CECCA8
accent
#CA58D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5F64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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