#5F68B2#5F68B2

#5F68B2 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.4% C 0.115 H 276.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F68B2
RGBrgb(95, 104, 178)
HSLhsl(233, 35%, 54%)
HSVhsv(233, 47%, 70%)
CMYKcmyk(46.6%, 41.6%, 0%, 30.2%)
CIE-LABlab(46.37, 16.69, -40.52)
CIE-LCHlch(46.37, 43.82, 292.38°)
OKLaboklab(54.4% 0.0133 -0.1145)
OKLCHoklch(54.4% 0.115 276.6)
XYZxyz(17.7030, 15.5469, 44.1789)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68B2 #B2A95F
analogous
#5F91B2 #5F68B2 #7F5FB2
triadic
#5F68B2 #B25F68 #68B25F
tetradic
#5F68B2 #B25F91 #B2A95F #5FB27F
square
#5F68B2 #B25F91 #B2A95F #5FB27F
split-complementary
#5F68B2 #B27F5F #91B25F
monochromatic
#313766 #454D8F #5F68B2 #888FC6 #B2B6DA

Accessibility & contrast

On white

5.11
#5F68B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5F68B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F68B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68B2#FFFFFF#000000##FFFFFF
##5F68B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#456BB0
Tritanopia (blue-blind)
#417784
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f68b2;
/* rgb */ color: rgb(95, 104, 178);
/* oklch */ color: oklch(54.4% 0.115 276.6);
Tailwind
colors: {
  custom: {
    50: '#9193c9',
    500: '#5f68b2',
    950: '#000000',
  },
}
SCSS
$custom: #5f68b2;
$custom-light: #9193c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68b2",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 233.494,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.544,
    "c": 0.11532,
    "h": 276.6
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#5F68B2
secondary
#C8C4A5
accent
#BF5DCB
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #5F68B2

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

Preview Lab → · Contrast checker → · Palette generator →

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