#5F65BB#5F65BB

#5F65BB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.133 H 278.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F65BB
RGBrgb(95, 101, 187)
HSLhsl(236, 40%, 55%)
HSVhsv(236, 49%, 73%)
CMYKcmyk(49.2%, 46%, 0%, 26.7%)
CIE-LABlab(46.08, 21.35, -46.23)
CIE-LCHlch(46.08, 50.92, 294.79°)
OKLaboklab(54.34% 0.0185 -0.1313)
OKLCHoklch(54.34% 0.133 278)
XYZxyz(18.3399, 15.3271, 48.9961)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F65BB #BBB55F
analogous
#5F93BB #5F65BB #875FBB
triadic
#5F65BB #BB5F65 #65BB5F
tetradic
#5F65BB #BB5F93 #BBB55F #5FBB87
square
#5F65BB #BB5F93 #BBB55F #5FBB87
split-complementary
#5F65BB #BB875F #93BB5F
monochromatic
#303470 #42489B #5F65BB #8A8ECD #B5B8E0

Accessibility & contrast

On white

5.17
#5F65BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5F65BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F65BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F65BB#FFFFFF#000000##FFFFFF
##5F65BB1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#3C7787
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f65bb;
/* rgb */ color: rgb(95, 101, 187);
/* oklch */ color: oklch(54.3% 0.133 278.0);
Tailwind
colors: {
  custom: {
    50: '#9290d0',
    500: '#5f65bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f65bb;
$custom-light: #9290d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f65bb",
  "rgb": {
    "r": 95,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 236.087,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.13256,
    "h": 278
  },
  "luminance": 0.15328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F65BB

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

Preview Lab → · Contrast checker → · Palette generator →

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