#5F75BB#5F75BB

#5F75BB is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.6% C 0.111 H 269.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5F75BB
RGBrgb(95, 117, 187)
HSLhsl(226, 40%, 55%)
HSVhsv(226, 49%, 73%)
CMYKcmyk(49.2%, 37.4%, 0%, 26.7%)
CIE-LABlab(50.38, 11.49, -39.40)
CIE-LCHlch(50.38, 41.04, 286.26°)
OKLaboklab(57.63% -0.001 -0.1112)
OKLCHoklch(57.63% 0.111 269.5)
XYZxyz(20.0474, 18.7421, 49.5653)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F75BB #BBA55F
analogous
#5FA3BB #5F75BB #775FBB
triadic
#5F75BB #BB5F75 #75BB5F
tetradic
#5F75BB #BB5FA3 #BBA55F #5FBB77
square
#5F75BB #BB5FA3 #BBA55F #5FBB77
split-complementary
#5F75BB #BB775F #A3BB5F
monochromatic
#303F70 #42579B #5F75BB #8A9ACD #B5BFE0

Accessibility & contrast

On white

4.42
#5F75BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5F75BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F75BB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F75BB#FFFFFF#000000##000000
##5F75BB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#39848F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f75bb;
/* rgb */ color: rgb(95, 117, 187);
/* oklch */ color: oklch(57.6% 0.111 269.5);
Tailwind
colors: {
  custom: {
    50: '#919cd0',
    500: '#5f75bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f75bb;
$custom-light: #919cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f75bb",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 187
  },
  "hsl": {
    "h": 225.652,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.11118,
    "h": 269.5
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#5F75BB
secondary
#CEC5A8
accent
#B358D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F75BB

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

Preview Lab → · Contrast checker → · Palette generator →

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