#6374F5#6374F5

#6374F5 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.3% C 0.192 H 273.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6374F5
RGBrgb(99, 116, 245)
HSLhsl(233, 88%, 67%)
HSVhsv(233, 60%, 96%)
CMYKcmyk(59.6%, 52.7%, 0%, 3.9%)
CIE-LABlab(53.74, 31.55, -66.82)
CIE-LCHlch(53.74, 73.89, 295.27°)
OKLaboklab(61.34% 0.0123 -0.1916)
OKLCHoklch(61.34% 0.192 273.7)
XYZxyz(27.8670, 21.7338, 89.0950)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6374F5 #F5E463
analogous
#63BDF5 #6374F5 #9B63F5
triadic
#6374F5 #F56374 #74F563
tetradic
#6374F5 #F563BD #F5E463 #63F59B
square
#6374F5 #F563BD #F5E463 #63F59B
split-complementary
#6374F5 #F59B63 #BDF563
monochromatic
#0D24D0 #2941F1 #6374F5 #9DA7F9 #D6DAFC

Accessibility & contrast

On white

3.93
#6374F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6374F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6374F5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6374F5#FFFFFF#000000##000000
##6374F51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2287FA
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6374f5;
/* rgb */ color: rgb(99, 116, 245);
/* oklch */ color: oklch(61.3% 0.192 273.7);
Tailwind
colors: {
  custom: {
    50: '#9c9bf9',
    500: '#6374f5',
    950: '#000000',
  },
}
SCSS
$custom: #6374f5;
$custom-light: #9c9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#6374f5",
  "rgb": {
    "r": 99,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 233.014,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.19197,
    "h": 273.7
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#6374F5
secondary
#F1EBC3
accent
#CA01E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6374F5

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

Preview Lab → · Contrast checker → · Palette generator →

#6374F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva