#5F79CA#5F79CA

#5F79CA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.128 H 268.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5F79CA
RGBrgb(95, 121, 202)
HSLhsl(225, 50%, 58%)
HSVhsv(225, 53%, 79%)
CMYKcmyk(53%, 40.1%, 0%, 20.8%)
CIE-LABlab(52.25, 13.79, -45.03)
CIE-LCHlch(52.25, 47.09, 287.03°)
OKLaboklab(59.33% -0.0025 -0.1276)
OKLCHoklch(59.33% 0.128 268.9)
XYZxyz(22.2139, 20.3704, 58.6270)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F79CA #CAB05F
analogous
#5FAECA #5F79CA #7A5FCA
triadic
#5F79CA #CA5F79 #79CA5F
tetradic
#5F79CA #CA5FAE #CAB05F #5FCA7A
square
#5F79CA #CA5FAE #CAB05F #5FCA7A
split-complementary
#5F79CA #CA7A5F #AECA5F
monochromatic
#2B4183 #3B57B1 #5F79CA #8D9FD9 #BBC6E8

Accessibility & contrast

On white

4.14
#5F79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5F79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F79CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F79CA#FFFFFF#000000##000000
##5F79CA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#2A8B98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f79ca;
/* rgb */ color: rgb(95, 121, 202);
/* oklch */ color: oklch(59.3% 0.128 268.9);
Tailwind
colors: {
  custom: {
    50: '#939fda',
    500: '#5f79ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f79ca;
$custom-light: #939fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5f79ca",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 225.421,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.12764,
    "h": 268.9
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#5F79CA
secondary
#D8CDAD
accent
#B84EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5F79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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