#5F75FA#5F75FA

#5F75FA is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.6% C 0.198 H 272.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F75FA
RGBrgb(95, 117, 250)
HSLhsl(231, 94%, 68%)
HSVhsv(231, 62%, 98%)
CMYKcmyk(62%, 53.2%, 0%, 2%)
CIE-LABlab(54.09, 31.90, -69.05)
CIE-LCHlch(54.09, 76.06, 294.80°)
OKLaboklab(61.64% 0.0076 -0.1982)
OKLCHoklch(61.64% 0.198 272.2)
XYZxyz(28.3302, 22.0552, 93.1881)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75FA #FAE45F
analogous
#5FC2FA #5F75FA #975FFA
triadic
#5F75FA #FA5F75 #75FA5F
tetradic
#5F75FA #FA5FC2 #FAE45F #5FFA97
square
#5F75FA #FA5FC2 #FAE45F #5FFA97
split-complementary
#5F75FA #FA975F #C2FA5F
monochromatic
#0724D8 #2442F8 #5F75FA #9AA8FC #D6DBFE

Accessibility & contrast

On white

3.88
#5F75FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5F75FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75FA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75FA#FFFFFF#000000##000000
##5F75FA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1788FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#0094AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f75fa;
/* rgb */ color: rgb(95, 117, 250);
/* oklch */ color: oklch(61.6% 0.198 272.2);
Tailwind
colors: {
  custom: {
    50: '#9a9cfd',
    500: '#5f75fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f75fa;
$custom-light: #9a9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75fa",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 250
  },
  "hsl": {
    "h": 231.484,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61643,
    "c": 0.19837,
    "h": 272.2
  },
  "luminance": 0.22058
}

Semantic roles & 50–950 ramp

primary
#5F75FA
secondary
#F2ECC2
accent
#C500E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5F75FA

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

Preview Lab → · Contrast checker → · Palette generator →

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