#5F68CA#5F68CA

#5F68CA is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.9% C 0.150 H 276.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5F68CA
RGBrgb(95, 104, 202)
HSLhsl(235, 50%, 58%)
HSVhsv(235, 53%, 79%)
CMYKcmyk(53%, 48.5%, 0%, 20.8%)
CIE-LABlab(47.75, 24.23, -52.21)
CIE-LCHlch(47.75, 57.56, 294.90°)
OKLaboklab(55.89% 0.0169 -0.1488)
OKLCHoklch(55.89% 0.15 276.5)
XYZxyz(20.3269, 16.5965, 57.9980)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68CA #CAC15F
analogous
#5F9DCA #5F68CA #8B5FCA
triadic
#5F68CA #CA5F68 #68CA5F
tetradic
#5F68CA #CA5F9D #CAC15F #5FCA8B
square
#5F68CA #CA5F9D #CAC15F #5FCA8B
split-complementary
#5F68CA #CA8B5F #9DCA5F
monochromatic
#2B3383 #3B45B1 #5F68CA #8D93D9 #BBBFE8

Accessibility & contrast

On white

4.86
#5F68CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5F68CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F68CA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68CA#FFFFFF#000000##FFFFFF
##5F68CA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#2E7E8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f68ca;
/* rgb */ color: rgb(95, 104, 202);
/* oklch */ color: oklch(55.9% 0.150 276.5);
Tailwind
colors: {
  custom: {
    50: '#9493db',
    500: '#5f68ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f68ca;
$custom-light: #9493db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68ca",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 234.953,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.14978,
    "h": 276.5
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#5F68CA
secondary
#D8D4AD
accent
#CE4EDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5F68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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