#5183B2#5183B2

#5183B2 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.5% C 0.090 H 248.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5183B2
RGBrgb(81, 131, 178)
HSLhsl(209, 39%, 51%)
HSVhsv(209, 54%, 70%)
CMYKcmyk(54.5%, 26.4%, 0%, 30.2%)
CIE-LABlab(53.16, -3.00, -29.92)
CIE-LCHlch(53.16, 30.07, 264.27°)
OKLaboklab(59.45% -0.0337 -0.0839)
OKLCHoklch(59.45% 0.09 248.1)
XYZxyz(19.5427, 21.1947, 45.1720)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183B2 #B28051
analogous
#51B2B0 #5183B2 #5152B2
triadic
#5183B2 #B25183 #83B251
tetradic
#5183B2 #B051B2 #B28051 #52B251
square
#5183B2 #B051B2 #B28051 #52B251
split-complementary
#5183B2 #B25152 #B2B051
monochromatic
#2A455F #3D6489 #5183B2 #7BA1C5 #A6BFD8

Accessibility & contrast

On white

4.01
#5183B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5183B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183B2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183B2#FFFFFF#000000##000000
##5183B21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B4
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#138E93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5183b2;
/* rgb */ color: rgb(81, 131, 178);
/* oklch */ color: oklch(59.5% 0.090 248.1);
Tailwind
colors: {
  custom: {
    50: '#88a6c9',
    500: '#5183b2',
    950: '#000000',
  },
}
SCSS
$custom: #5183b2;
$custom-light: #88a6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5183b2",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 178
  },
  "hsl": {
    "h": 209.072,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.09036,
    "h": 248.1
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#5183B2
secondary
#C5AF9A
accent
#9259CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5183B2

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

Preview Lab → · Contrast checker → · Palette generator →

#5183B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva