#6176F2#6176F2

#6176F2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.4% C 0.186 H 272.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6176F2
RGBrgb(97, 118, 242)
HSLhsl(231, 85%, 66%)
HSVhsv(231, 60%, 95%)
CMYKcmyk(59.9%, 51.2%, 0%, 5.1%)
CIE-LABlab(53.93, 29.01, -64.86)
CIE-LCHlch(53.93, 71.05, 294.09°)
OKLaboklab(61.39% 0.0082 -0.1858)
OKLCHoklch(61.39% 0.186 272.5)
XYZxyz(27.4299, 21.9068, 86.7701)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6176F2 #F2DD61
analogous
#61BFF2 #6176F2 #9561F2
triadic
#6176F2 #F26176 #76F261
tetradic
#6176F2 #F261BF #F2DD61 #61F295
square
#6176F2 #F261BF #F2DD61 #61F295
split-complementary
#6176F2 #F29561 #BFF261
monochromatic
#102BC8 #2845ED #6176F2 #9AA7F7 #D2D8FB

Accessibility & contrast

On white

3.90
#6176F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#6176F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6176F2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6176F2#FFFFFF#000000##000000
##6176F21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E87F6
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6176f2;
/* rgb */ color: rgb(97, 118, 242);
/* oklch */ color: oklch(61.4% 0.186 272.5);
Tailwind
colors: {
  custom: {
    50: '#9a9df7',
    500: '#6176f2',
    950: '#000000',
  },
}
SCSS
$custom: #6176f2;
$custom-light: #9a9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#6176f2",
  "rgb": {
    "r": 97,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 231.31,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61388,
    "c": 0.18601,
    "h": 272.5
  },
  "luminance": 0.21909
}

Semantic roles & 50–950 ramp

primary
#6176F2
secondary
#EFE8C0
accent
#C104E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6176F2

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

Preview Lab → · Contrast checker → · Palette generator →

#6176F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva