#5F68CB#5F68CB

#5F68CB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.0% C 0.151 H 276.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5F68CB
RGBrgb(95, 104, 203)
HSLhsl(235, 51%, 58%)
HSVhsv(235, 53%, 80%)
CMYKcmyk(53.2%, 48.8%, 0%, 20.4%)
CIE-LABlab(47.81, 24.55, -52.69)
CIE-LCHlch(47.81, 58.13, 294.98°)
OKLaboklab(55.95% 0.017 -0.1502)
OKLCHoklch(55.95% 0.151 276.4)
XYZxyz(20.4457, 16.6440, 58.6236)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68CB #CBC25F
analogous
#5F9ECB #5F68CB #8C5FCB
triadic
#5F68CB #CB5F68 #68CB5F
tetradic
#5F68CB #CB5F9E #CBC25F #5FCB8C
square
#5F68CB #CB5F9E #CBC25F #5FCB8C
split-complementary
#5F68CB #CB8C5F #9ECB5F
monochromatic
#2B3385 #3A44B3 #5F68CB #8D94DA #BBBFE9

Accessibility & contrast

On white

4.85
#5F68CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5F68CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F68CB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68CB#FFFFFF#000000##FFFFFF
##5F68CB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#2D7E90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f68cb;
/* rgb */ color: rgb(95, 104, 203);
/* oklch */ color: oklch(56.0% 0.151 276.4);
Tailwind
colors: {
  custom: {
    50: '#9493db',
    500: '#5f68cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f68cb;
$custom-light: #9493db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68cb",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 235,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55954,
    "c": 0.15118,
    "h": 276.4
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#5F68CB
secondary
#D8D5AD
accent
#CF4DDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5F68CB

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

Preview Lab → · Contrast checker → · Palette generator →

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