#6175CC#6175CC

#6175CC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.135 H 271.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6175CC
RGBrgb(97, 117, 204)
HSLhsl(229, 51%, 59%)
HSVhsv(229, 52%, 80%)
CMYKcmyk(52.5%, 42.6%, 0%, 20%)
CIE-LABlab(51.41, 17.31, -47.51)
CIE-LCHlch(51.41, 50.56, 290.02°)
OKLaboklab(58.75% 0.0045 -0.1348)
OKLCHoklch(58.75% 0.135 271.9)
XYZxyz(22.1866, 19.6221, 59.7334)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6175CC #CCB861
analogous
#61ABCC #6175CC #8361CC
triadic
#6175CC #CC6175 #75CC61
tetradic
#6175CC #CC61AB #CCB861 #61CC83
square
#6175CC #CC61AB #CCB861 #61CC83
split-complementary
#6175CC #CC8361 #ABCC61
monochromatic
#2C3D87 #3B51B5 #6175CC #8F9DDB #BEC6EA

Accessibility & contrast

On white

4.26
#6175CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#6175CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6175CC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6175CC#FFFFFF#000000##000000
##6175CC1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCF
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#2F8896
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6175cc;
/* rgb */ color: rgb(97, 117, 204);
/* oklch */ color: oklch(58.7% 0.135 271.9);
Tailwind
colors: {
  custom: {
    50: '#959cdc',
    500: '#6175cc',
    950: '#000000',
  },
}
SCSS
$custom: #6175cc;
$custom-light: #959cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6175cc",
  "rgb": {
    "r": 97,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 228.785,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.13493,
    "h": 271.9
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#6175CC
secondary
#D9D2AF
accent
#C04DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6175CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6175CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva