#6174F0#6174F0

#6174F0 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.186 H 273.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6174F0
RGBrgb(97, 116, 240)
HSLhsl(232, 83%, 66%)
HSVhsv(232, 60%, 94%)
CMYKcmyk(59.6%, 51.7%, 0%, 5.9%)
CIE-LABlab(53.30, 29.57, -64.76)
CIE-LCHlch(53.30, 71.19, 294.54°)
OKLaboklab(60.87% 0.0099 -0.1855)
OKLCHoklch(60.87% 0.186 273.1)
XYZxyz(26.8981, 21.3213, 85.1191)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174F0 #F0DD61
analogous
#61BBF0 #6174F0 #9561F0
triadic
#6174F0 #F06174 #74F061
tetradic
#6174F0 #F061BB #F0DD61 #61F095
square
#6174F0 #F061BB #F0DD61 #61F095
split-complementary
#6174F0 #F09561 #BBF061
monochromatic
#132AC4 #2943EB #6174F0 #99A5F5 #D1D6FB

Accessibility & contrast

On white

3.99
#6174F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6174F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174F0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174F0#FFFFFF#000000##000000
##6174F01.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)
#2A86F4
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6174f0;
/* rgb */ color: rgb(97, 116, 240);
/* oklch */ color: oklch(60.9% 0.186 273.1);
Tailwind
colors: {
  custom: {
    50: '#9a9bf6',
    500: '#6174f0',
    950: '#000000',
  },
}
SCSS
$custom: #6174f0;
$custom-light: #9a9bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6174f0",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 232.028,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.18582,
    "h": 273.1
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#6174F0
secondary
#EEE8BF
accent
#C206DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6174F0

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

Preview Lab → · Contrast checker → · Palette generator →

#6174F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva