#5F76AC#5F76AC

#5F76AC is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.1% C 0.088 H 266.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5F76AC
RGBrgb(95, 118, 172)
HSLhsl(222, 32%, 52%)
HSVhsv(222, 45%, 67%)
CMYKcmyk(44.8%, 31.4%, 0%, 32.5%)
CIE-LABlab(49.94, 6.29, -31.42)
CIE-LCHlch(49.94, 32.04, 281.31°)
OKLaboklab(57.05% -0.0061 -0.088)
OKLCHoklch(57.05% 0.088 266)
XYZxyz(18.6418, 18.3673, 41.5847)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76AC #AC955F
analogous
#5F9CAC #5F76AC #6F5FAC
triadic
#5F76AC #AC5F76 #76AC5F
tetradic
#5F76AC #AC5F9C #AC955F #5FAC6F
square
#5F76AC #AC5F9C #AC955F #5FAC6F
split-complementary
#5F76AC #AC6F5F #9CAC5F
monochromatic
#313F5F #465A88 #5F76AC #8799C1 #B0BBD6

Accessibility & contrast

On white

4.49
#5F76AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#5F76AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76AC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76AC#FFFFFF#000000##000000
##5F76AC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAE
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#438189
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f76ac;
/* rgb */ color: rgb(95, 118, 172);
/* oklch */ color: oklch(57.1% 0.088 266.0);
Tailwind
colors: {
  custom: {
    50: '#909dc5',
    500: '#5f76ac',
    950: '#000000',
  },
}
SCSS
$custom: #5f76ac;
$custom-light: #909dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76ac",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 172
  },
  "hsl": {
    "h": 222.078,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.08823,
    "h": 266
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#5F76AC
secondary
#C4BAA3
accent
#A960C8
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5F76AC

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

Preview Lab → · Contrast checker → · Palette generator →

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