#6175EC#6175EC

#6175EC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.179 H 272.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6175EC
RGBrgb(97, 117, 236)
HSLhsl(231, 79%, 65%)
HSVhsv(231, 59%, 93%)
CMYKcmyk(58.9%, 50.4%, 0%, 7.5%)
CIE-LABlab(53.30, 27.65, -62.53)
CIE-LCHlch(53.30, 68.37, 293.85°)
OKLaboklab(60.79% 0.0087 -0.179)
OKLCHoklch(60.79% 0.179 272.8)
XYZxyz(26.4264, 21.3180, 82.0628)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6175EC #ECD861
analogous
#61BAEC #6175EC #9261EC
triadic
#6175EC #EC6175 #75EC61
tetradic
#6175EC #EC61BA #ECD861 #61EC92
square
#6175EC #EC61BA #ECD861 #61EC92
split-complementary
#6175EC #EC9261 #BAEC61
monochromatic
#172EBC #2A45E5 #6175EC #98A5F3 #CED4F9

Accessibility & contrast

On white

3.99
#6175EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6175EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6175EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6175EC#FFFFFF#000000##000000
##6175EC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F0
Deuteranopia (green-blind)
#1179EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6175ec;
/* rgb */ color: rgb(97, 117, 236);
/* oklch */ color: oklch(60.8% 0.179 272.8);
Tailwind
colors: {
  custom: {
    50: '#999cf3',
    500: '#6175ec',
    950: '#000000',
  },
}
SCSS
$custom: #6175ec;
$custom-light: #999cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6175ec",
  "rgb": {
    "r": 97,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 231.367,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.1792,
    "h": 272.8
  },
  "luminance": 0.2132
}

Semantic roles & 50–950 ramp

primary
#6175EC
secondary
#ECE5BD
accent
#BD0BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6175EC

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

Preview Lab → · Contrast checker → · Palette generator →

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