#5F55BB#5F55BB

#5F55BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.155 H 283.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5F55BB
RGBrgb(95, 85, 187)
HSLhsl(246, 43%, 53%)
HSVhsv(246, 55%, 73%)
CMYKcmyk(49.2%, 54.5%, 0%, 26.7%)
CIE-LABlab(42.03, 31.24, -52.73)
CIE-LCHlch(42.03, 61.29, 300.65°)
OKLaboklab(51.29% 0.0373 -0.1505)
OKLCHoklch(51.29% 0.155 283.9)
XYZxyz(16.9348, 12.5169, 48.5278)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55BB #B1BB55
analogous
#557EBB #5F55BB #9255BB
triadic
#5F55BB #BB5F55 #55BB5F
tetradic
#5F55BB #BB557E #B1BB55 #55BB92
square
#5F55BB #BB557E #B1BB55 #55BB92
split-complementary
#5F55BB #BB9255 #7EBB55
monochromatic
#312B6B #453C97 #5F55BB #8881CC #B1ACDE

Accessibility & contrast

On white

5.99
#5F55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5F55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55BB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55BB#FFFFFF#000000##FFFFFF
##5F55BB1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BF
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#3E6C80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f55bb;
/* rgb */ color: rgb(95, 85, 187);
/* oklch */ color: oklch(51.3% 0.155 283.9);
Tailwind
colors: {
  custom: {
    50: '#9385d0',
    500: '#5f55bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f55bb;
$custom-light: #9385d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55bb",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 245.882,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.15503,
    "h": 283.9
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#5F55BB
secondary
#C8CCA0
accent
#D355C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5F55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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