#6174B5#6174B5

#6174B5 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.2% C 0.103 H 270.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6174B5
RGBrgb(97, 116, 181)
HSLhsl(226, 36%, 55%)
HSVhsv(226, 46%, 71%)
CMYKcmyk(46.4%, 35.9%, 0%, 29%)
CIE-LABlab(49.94, 10.74, -36.63)
CIE-LCHlch(49.94, 38.17, 286.35°)
OKLaboklab(57.23% 0.0009 -0.1031)
OKLCHoklch(57.23% 0.103 270.5)
XYZxyz(19.5130, 18.3672, 46.2241)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174B5 #B5A261
analogous
#619EB5 #6174B5 #7861B5
triadic
#6174B5 #B56174 #74B561
tetradic
#6174B5 #B5619E #B5A261 #61B578
square
#6174B5 #B5619E #B5A261 #61B578
split-complementary
#6174B5 #B57861 #9EB561
monochromatic
#323E6A #455794 #6174B5 #8B99C9 #B4BDDC

Accessibility & contrast

On white

4.49
#6174B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#6174B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174B5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174B5#FFFFFF#000000##000000
##6174B51.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)
#5C7BB8
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#42828C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6174b5;
/* rgb */ color: rgb(97, 116, 181);
/* oklch */ color: oklch(57.2% 0.103 270.5);
Tailwind
colors: {
  custom: {
    50: '#929bcb',
    500: '#6174b5',
    950: '#000000',
  },
}
SCSS
$custom: #6174b5;
$custom-light: #929bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6174b5",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 181
  },
  "hsl": {
    "h": 226.429,
    "s": 36.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57225,
    "c": 0.10309,
    "h": 270.5
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#6174B5
secondary
#CBC3A7
accent
#B35CCC
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #6174B5

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

Preview Lab → · Contrast checker → · Palette generator →

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