#5762BC#5762BC

#5762BC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.140 H 275.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5762BC
RGBrgb(87, 98, 188)
HSLhsl(233, 43%, 54%)
HSVhsv(233, 54%, 74%)
CMYKcmyk(53.7%, 47.9%, 0%, 26.3%)
CIE-LABlab(44.79, 21.73, -48.90)
CIE-LCHlch(44.79, 53.51, 293.96°)
OKLaboklab(53.23% 0.0131 -0.1393)
OKLCHoklch(53.23% 0.14 275.4)
XYZxyz(17.3724, 14.3913, 49.4296)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5762BC #BCB157
analogous
#5795BC #5762BC #7F57BC
triadic
#5762BC #BC5762 #62BC57
tetradic
#5762BC #BC5795 #BCB157 #57BC7F
square
#5762BC #BC5795 #BCB157 #57BC7F
split-complementary
#5762BC #BC7F57 #95BC57
monochromatic
#2C336D #3D4799 #5762BC #838BCD #AFB4DF

Accessibility & contrast

On white

5.41
#5762BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5762BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5762BC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5762BC#FFFFFF#000000##FFFFFF
##5762BC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#277686
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5762bc;
/* rgb */ color: rgb(87, 98, 188);
/* oklch */ color: oklch(53.2% 0.140 275.4);
Tailwind
colors: {
  custom: {
    50: '#8e8ed1',
    500: '#5762bc',
    950: '#000000',
  },
}
SCSS
$custom: #5762bc;
$custom-light: #8e8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5762bc",
  "rgb": {
    "r": 87,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 233.465,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.13995,
    "h": 275.4
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#5762BC
secondary
#CDC8A2
accent
#C555D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5762BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5762BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva