#6174B2#6174B2

#6174B2 is a mid, moderate blue. Relative luminance 0.182; OKLCH L 57.1% C 0.099 H 270.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6174B2
RGBrgb(97, 116, 178)
HSLhsl(226, 34%, 54%)
HSVhsv(226, 46%, 70%)
CMYKcmyk(45.5%, 34.8%, 0%, 30.2%)
CIE-LABlab(49.79, 9.83, -35.12)
CIE-LCHlch(49.79, 36.47, 285.64°)
OKLaboklab(57.06% 0.0002 -0.0987)
OKLCHoklch(57.06% 0.099 270.1)
XYZxyz(19.2085, 18.2454, 44.6204)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174B2 #B29F61
analogous
#619DB2 #6174B2 #7761B2
triadic
#6174B2 #B26174 #74B261
tetradic
#6174B2 #B2619D #B29F61 #61B277
square
#6174B2 #B2619D #B29F61 #61B277
split-complementary
#6174B2 #B27761 #9DB261
monochromatic
#323E67 #465790 #6174B2 #8A98C6 #B3BCDA

Accessibility & contrast

On white

4.52
#6174B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6174B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174B2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174B2#FFFFFF#000000##000000
##6174B21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB5
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#44818B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6174b2;
/* rgb */ color: rgb(97, 116, 178);
/* oklch */ color: oklch(57.1% 0.099 270.1);
Tailwind
colors: {
  custom: {
    50: '#929bc9',
    500: '#6174b2',
    950: '#000000',
  },
}
SCSS
$custom: #6174b2;
$custom-light: #929bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6174b2",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 225.926,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57064,
    "c": 0.09871,
    "h": 270.1
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#6174B2
secondary
#C9C1A6
accent
#B15DCB
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #6174B2

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

Preview Lab → · Contrast checker → · Palette generator →

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