#6174BB#6174BB

#6174BB is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.6% C 0.112 H 271.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6174BB
RGBrgb(97, 116, 187)
HSLhsl(227, 40%, 56%)
HSVhsv(227, 48%, 73%)
CMYKcmyk(48.1%, 38%, 0%, 26.7%)
CIE-LABlab(50.24, 12.59, -39.62)
CIE-LCHlch(50.24, 41.57, 287.63°)
OKLaboklab(57.55% 0.0023 -0.1118)
OKLCHoklch(57.55% 0.112 271.2)
XYZxyz(20.1419, 18.6188, 49.5365)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174BB #BBA861
analogous
#61A1BB #6174BB #7B61BB
triadic
#6174BB #BB6174 #74BB61
tetradic
#6174BB #BB61A1 #BBA861 #61BB7B
square
#6174BB #BB61A1 #BBA861 #61BB7B
split-complementary
#6174BB #BB7B61 #A1BB61
monochromatic
#313E71 #43569C #6174BB #8C9ACD #B7BFE0

Accessibility & contrast

On white

4.45
#6174BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6174BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174BB#FFFFFF#000000##000000
##6174BB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#3E838E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6174bb;
/* rgb */ color: rgb(97, 116, 187);
/* oklch */ color: oklch(57.6% 0.112 271.2);
Tailwind
colors: {
  custom: {
    50: '#939bd0',
    500: '#6174bb',
    950: '#000000',
  },
}
SCSS
$custom: #6174bb;
$custom-light: #939bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6174bb",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 227.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.11182,
    "h": 271.2
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#6174BB
secondary
#CFC7A9
accent
#B658D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6174BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6174BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva