#5F6BDD#5F6BDD

#5F6BDD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.172 H 275.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5F6BDD
RGBrgb(95, 107, 221)
HSLhsl(234, 65%, 62%)
HSVhsv(234, 57%, 87%)
CMYKcmyk(57%, 51.6%, 0%, 13.3%)
CIE-LABlab(49.70, 28.50, -59.90)
CIE-LCHlch(49.70, 66.34, 295.45°)
OKLaboklab(57.74% 0.0154 -0.1714)
OKLCHoklch(57.74% 0.172 275.1)
XYZxyz(23.0239, 18.1671, 70.6859)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BDD #DDD15F
analogous
#5FAADD #5F6BDD #925FDD
triadic
#5F6BDD #DD5F6B #6BDD5F
tetradic
#5F6BDD #DD5FAA #DDD15F #5FDD92
square
#5F6BDD #DD5FAA #DDD15F #5FDD92
split-complementary
#5F6BDD #DD925F #AADD5F
monochromatic
#222EA0 #2D3CD2 #5F6BDD #919AE8 #C4C8F2

Accessibility & contrast

On white

4.53
#5F6BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5F6BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BDD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BDD#FFFFFF#000000##000000
##5F6BDD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE1
Deuteranopia (green-blind)
#0C71DB
Tritanopia (blue-blind)
#0A859A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f6bdd;
/* rgb */ color: rgb(95, 107, 221);
/* oklch */ color: oklch(57.7% 0.172 275.1);
Tailwind
colors: {
  custom: {
    50: '#9695e8',
    500: '#5f6bdd',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bdd;
$custom-light: #9695e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bdd",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 234.286,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57741,
    "c": 0.1721,
    "h": 275.1
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#5F6BDD
secondary
#E3DFB5
accent
#BC19CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F6BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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