#5F55CA#5F55CA

#5F55CA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.175 H 282.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F55CA
RGBrgb(95, 85, 202)
HSLhsl(245, 52%, 56%)
HSVhsv(245, 58%, 79%)
CMYKcmyk(53%, 57.9%, 0%, 20.8%)
CIE-LABlab(43.05, 35.88, -59.78)
CIE-LCHlch(43.05, 69.72, 300.97°)
OKLaboklab(52.38% 0.0375 -0.1712)
OKLCHoklch(52.38% 0.175 282.4)
XYZxyz(18.6252, 13.1931, 57.4308)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55CA #C0CA55
analogous
#5586CA #5F55CA #9A55CA
triadic
#5F55CA #CA5F55 #55CA5F
tetradic
#5F55CA #CA5586 #C0CA55 #55CA9A
square
#5F55CA #CA5586 #C0CA55 #55CA9A
split-complementary
#5F55CA #CA9A55 #86CA55
monochromatic
#2F277D #4036AC #5F55CA #8B84D9 #B7B2E7

Accessibility & contrast

On white

5.77
#5F55CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5F55CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55CA#FFFFFF#000000##FFFFFF
##5F55CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#317087
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f55ca;
/* rgb */ color: rgb(95, 85, 202);
/* oklch */ color: oklch(52.4% 0.175 282.4);
Tailwind
colors: {
  custom: {
    50: '#9585db',
    500: '#5f55ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f55ca;
$custom-light: #9585db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55ca",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 245.128,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.17528,
    "h": 282.4
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#5F55CA
secondary
#D1D5A5
accent
#DC4CD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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