#5358CB#5358CB

#5358CB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.175 H 276.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5358CB
RGBrgb(83, 88, 203)
HSLhsl(238, 54%, 56%)
HSVhsv(238, 59%, 80%)
CMYKcmyk(59.1%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.96, 32.12, -60.55)
CIE-LCHlch(42.96, 68.54, 297.94°)
OKLaboklab(52.1% 0.0201 -0.1738)
OKLCHoklch(52.1% 0.175 276.6)
XYZxyz(17.8330, 13.1289, 58.0827)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5358CB #CBC653
analogous
#5394CB #5358CB #8A53CB
triadic
#5358CB #CB5358 #58CB53
tetradic
#5358CB #CB5394 #CBC653 #53CB8A
square
#5358CB #CB5394 #CBC653 #53CB8A
split-complementary
#5358CB #CB8A53 #94CB53
monochromatic
#262A7E #3439AD #5358CB #8286D9 #B1B3E7

Accessibility & contrast

On white

5.79
#5358CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5358CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5358CB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5358CB#FFFFFF#000000##FFFFFF
##5358CB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5358cb;
/* rgb */ color: rgb(83, 88, 203);
/* oklch */ color: oklch(52.1% 0.175 276.6);
Tailwind
colors: {
  custom: {
    50: '#8e87dc',
    500: '#5358cb',
    950: '#000000',
  },
}
SCSS
$custom: #5358cb;
$custom-light: #8e87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5358cb",
  "rgb": {
    "r": 83,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 237.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.17496,
    "h": 276.6
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#5358CB
secondary
#D6D4A4
accent
#D74BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5358CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5358CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva