#5F6BFA#5F6BFA

#5F6BFA is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.8% C 0.210 H 274.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5F6BFA
RGBrgb(95, 107, 250)
HSLhsl(235, 94%, 68%)
HSVhsv(235, 62%, 98%)
CMYKcmyk(62%, 57.2%, 0%, 2%)
CIE-LABlab(51.67, 37.94, -72.97)
CIE-LCHlch(51.67, 82.25, 297.47°)
OKLaboklab(59.84% 0.0164 -0.2099)
OKLCHoklch(59.84% 0.211 274.5)
XYZxyz(27.2266, 19.8482, 92.8202)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BFA #FAEE5F
analogous
#5FB8FA #5F6BFA #A15FFA
triadic
#5F6BFA #FA5F6B #6BFA5F
tetradic
#5F6BFA #FA5FB8 #FAEE5F #5FFAA1
square
#5F6BFA #FA5FB8 #FAEE5F #5FFAA1
split-complementary
#5F6BFA #FAA15F #B8FA5F
monochromatic
#0717D8 #2434F8 #5F6BFA #9AA2FC #D6D9FE

Accessibility & contrast

On white

4.23
#5F6BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5F6BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BFA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BFA#FFFFFF#000000##000000
##5F6BFA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#008EA8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6bfa;
/* rgb */ color: rgb(95, 107, 250);
/* oklch */ color: oklch(59.8% 0.210 274.5);
Tailwind
colors: {
  custom: {
    50: '#9b95fd',
    500: '#5f6bfa',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bfa;
$custom-light: #9b95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bfa",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 235.355,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.2105,
    "h": 274.5
  },
  "luminance": 0.1985
}

Semantic roles & 50–950 ramp

primary
#5F6BFA
secondary
#F2EFC2
accent
#D400E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5F6BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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