#6179F2#6179F2

#6179F2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 62.0% C 0.182 H 271.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6179F2
RGBrgb(97, 121, 242)
HSLhsl(230, 85%, 66%)
HSVhsv(230, 60%, 95%)
CMYKcmyk(59.9%, 50%, 0%, 5.1%)
CIE-LABlab(54.68, 27.18, -63.64)
CIE-LCHlch(54.68, 69.20, 293.13°)
OKLaboklab(61.96% 0.0053 -0.1822)
OKLCHoklch(61.96% 0.182 271.7)
XYZxyz(27.7888, 22.6247, 86.8898)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6179F2 #F2DA61
analogous
#61C2F2 #6179F2 #9261F2
triadic
#6179F2 #F26179 #79F261
tetradic
#6179F2 #F261C2 #F2DA61 #61F292
square
#6179F2 #F261C2 #F2DA61 #61F292
split-complementary
#6179F2 #F29261 #C2F261
monochromatic
#102FC8 #2849ED #6179F2 #9AA9F7 #D2D9FB

Accessibility & contrast

On white

3.80
#6179F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6179F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6179F2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6179F2#FFFFFF#000000##000000
##6179F21.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F6
Deuteranopia (green-blind)
#127DEF
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6179f2;
/* rgb */ color: rgb(97, 121, 242);
/* oklch */ color: oklch(62.0% 0.182 271.7);
Tailwind
colors: {
  custom: {
    50: '#9a9ff7',
    500: '#6179f2',
    950: '#000000',
  },
}
SCSS
$custom: #6179f2;
$custom-light: #9a9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#6179f2",
  "rgb": {
    "r": 97,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 230.069,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.18229,
    "h": 271.7
  },
  "luminance": 0.22627
}

Semantic roles & 50–950 ramp

primary
#6179F2
secondary
#EFE7C0
accent
#BD04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6179F2

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

Preview Lab → · Contrast checker → · Palette generator →

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