#5F75CA#5F75CA

#5F75CA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.133 H 270.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5F75CA
RGBrgb(95, 117, 202)
HSLhsl(228, 50%, 58%)
HSVhsv(228, 53%, 79%)
CMYKcmyk(53%, 42.1%, 0%, 20.8%)
CIE-LABlab(51.17, 16.23, -46.75)
CIE-LCHlch(51.17, 49.48, 289.15°)
OKLaboklab(58.5% 0.0021 -0.1327)
OKLCHoklch(58.5% 0.133 270.9)
XYZxyz(21.7378, 19.4183, 58.4683)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75CA #CAB45F
analogous
#5FAACA #5F75CA #7E5FCA
triadic
#5F75CA #CA5F75 #75CA5F
tetradic
#5F75CA #CA5FAA #CAB45F #5FCA7E
square
#5F75CA #CA5FAA #CAB45F #5FCA7E
split-complementary
#5F75CA #CA7E5F #AACA5F
monochromatic
#2B3D83 #3B53B1 #5F75CA #8D9DD9 #BBC4E8

Accessibility & contrast

On white

4.30
#5F75CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5F75CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75CA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75CA#FFFFFF#000000##000000
##5F75CA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#2B8796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f75ca;
/* rgb */ color: rgb(95, 117, 202);
/* oklch */ color: oklch(58.5% 0.133 270.9);
Tailwind
colors: {
  custom: {
    50: '#939cda',
    500: '#5f75ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f75ca;
$custom-light: #939cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75ca",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 227.664,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.13269,
    "h": 270.9
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#5F75CA
secondary
#D8CFAD
accent
#BD4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F75CA

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

Preview Lab → · Contrast checker → · Palette generator →

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