#6172BF#6172BF

#6172BF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.120 H 272.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6172BF
RGBrgb(97, 114, 191)
HSLhsl(229, 42%, 56%)
HSVhsv(229, 49%, 75%)
CMYKcmyk(49.2%, 40.3%, 0%, 25.1%)
CIE-LABlab(49.90, 15.05, -42.45)
CIE-LCHlch(49.90, 45.04, 289.52°)
OKLaboklab(57.36% 0.0056 -0.1201)
OKLCHoklch(57.36% 0.12 272.7)
XYZxyz(20.3481, 18.3364, 51.7472)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172BF #BFAE61
analogous
#61A1BF #6172BF #7F61BF
triadic
#6172BF #BF6172 #72BF61
tetradic
#6172BF #BF61A1 #BFAE61 #61BF7F
square
#6172BF #BF61A1 #BFAE61 #61BF7F
split-complementary
#6172BF #BF7F61 #A1BF61
monochromatic
#303C76 #4153A1 #6172BF #8D99D1 #B8C0E2

Accessibility & contrast

On white

4.50
#6172BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6172BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172BF#FFFFFF#000000##000000
##6172BF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#3B828F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6172bf;
/* rgb */ color: rgb(97, 114, 191);
/* oklch */ color: oklch(57.4% 0.120 272.7);
Tailwind
colors: {
  custom: {
    50: '#939ad3',
    500: '#6172bf',
    950: '#000000',
  },
}
SCSS
$custom: #6172bf;
$custom-light: #939ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#6172bf",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 229.149,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57363,
    "c": 0.12022,
    "h": 272.7
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#6172BF
secondary
#D1CAAB
accent
#BC56D2
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #6172BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6172BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva