#5F85CA#5F85CA

#5F85CA is a mid, moderate blue. Relative luminance 0.235; OKLCH L 61.9% C 0.114 H 261.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5F85CA
RGBrgb(95, 133, 202)
HSLhsl(219, 50%, 58%)
HSVhsv(219, 53%, 79%)
CMYKcmyk(53%, 34.2%, 0%, 20.8%)
CIE-LABlab(55.55, 6.57, -39.82)
CIE-LCHlch(55.55, 40.35, 279.37°)
OKLaboklab(61.88% -0.0164 -0.1123)
OKLCHoklch(61.88% 0.114 261.7)
XYZxyz(23.7639, 23.4705, 59.1437)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F85CA #CAA45F
analogous
#5FBACA #5F85CA #6E5FCA
triadic
#5F85CA #CA5F85 #85CA5F
tetradic
#5F85CA #CA5FBA #CAA45F #5FCA6E
square
#5F85CA #CA5FBA #CAA45F #5FCA6E
split-complementary
#5F85CA #CA6E5F #BACA5F
monochromatic
#2B4B83 #3B65B1 #5F85CA #8DA8D9 #BBCBE8

Accessibility & contrast

On white

3.69
#5F85CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5F85CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F85CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F85CA#FFFFFF#000000##000000
##5F85CA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACD
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#27949E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f85ca;
/* rgb */ color: rgb(95, 133, 202);
/* oklch */ color: oklch(61.9% 0.114 261.7);
Tailwind
colors: {
  custom: {
    50: '#93a8da',
    500: '#5f85ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f85ca;
$custom-light: #93a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5f85ca",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 202
  },
  "hsl": {
    "h": 218.692,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.1135,
    "h": 261.7
  },
  "luminance": 0.23472
}

Semantic roles & 50–950 ramp

primary
#5F85CA
secondary
#D8C9AD
accent
#A84EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F85CA

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

Preview Lab → · Contrast checker → · Palette generator →

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