#5F82CA#5F82CA

#5F82CA is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.2% C 0.117 H 263.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5F82CA
RGBrgb(95, 130, 202)
HSLhsl(220, 50%, 58%)
HSVhsv(220, 53%, 79%)
CMYKcmyk(53%, 35.6%, 0%, 20.8%)
CIE-LABlab(54.72, 8.36, -41.13)
CIE-LCHlch(54.72, 41.97, 281.49°)
OKLaboklab(61.23% -0.013 -0.1161)
OKLCHoklch(61.23% 0.117 263.6)
XYZxyz(23.3590, 22.6607, 59.0087)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82CA #CAA75F
analogous
#5FB7CA #5F82CA #715FCA
triadic
#5F82CA #CA5F82 #82CA5F
tetradic
#5F82CA #CA5FB7 #CAA75F #5FCA71
square
#5F82CA #CA5FB7 #CAA75F #5FCA71
split-complementary
#5F82CA #CA715F #B7CA5F
monochromatic
#2B4883 #3B61B1 #5F82CA #8DA6D9 #BBCAE8

Accessibility & contrast

On white

3.80
#5F82CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5F82CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82CA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82CA#FFFFFF#000000##000000
##5F82CA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#28929C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f82ca;
/* rgb */ color: rgb(95, 130, 202);
/* oklch */ color: oklch(61.2% 0.117 263.6);
Tailwind
colors: {
  custom: {
    50: '#93a6da',
    500: '#5f82ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f82ca;
$custom-light: #93a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82ca",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 202
  },
  "hsl": {
    "h": 220.374,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.11686,
    "h": 263.6
  },
  "luminance": 0.22662
}

Semantic roles & 50–950 ramp

primary
#5F82CA
secondary
#D8CAAD
accent
#AC4EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F82CA

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

Preview Lab → · Contrast checker → · Palette generator →

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