#6370E4#6370E4

#6370E4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.174 H 275.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6370E4
RGBrgb(99, 112, 228)
HSLhsl(234, 70%, 64%)
HSVhsv(234, 57%, 89%)
CMYKcmyk(56.6%, 50.9%, 0%, 10.6%)
CIE-LABlab(51.66, 28.47, -60.68)
CIE-LCHlch(51.66, 67.03, 295.14°)
OKLaboklab(59.42% 0.0151 -0.1736)
OKLCHoklch(59.42% 0.174 275)
XYZxyz(24.9388, 19.8406, 75.8992)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6370E4 #E4D763
analogous
#63B1E4 #6370E4 #9663E4
triadic
#6370E4 #E46370 #70E463
tetradic
#6370E4 #E463B1 #E4D763 #63E496
square
#6370E4 #E463B1 #E4D763 #63E496
split-complementary
#6370E4 #E49663 #B1E463
monochromatic
#1E2DAE #2F40DB #6370E4 #97A0ED #CBD0F6

Accessibility & contrast

On white

4.23
#6370E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6370E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6370E4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6370E4#FFFFFF#000000##000000
##6370E41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E8
Deuteranopia (green-blind)
#1776E2
Tritanopia (blue-blind)
#118A9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6370e4;
/* rgb */ color: rgb(99, 112, 228);
/* oklch */ color: oklch(59.4% 0.174 275.0);
Tailwind
colors: {
  custom: {
    50: '#9998ed',
    500: '#6370e4',
    950: '#000000',
  },
}
SCSS
$custom: #6370e4;
$custom-light: #9998ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6370e4",
  "rgb": {
    "r": 99,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 233.953,
    "s": 70.492,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.17422,
    "h": 275
  },
  "luminance": 0.19842
}

Semantic roles & 50–950 ramp

primary
#6370E4
secondary
#E8E3BB
accent
#BF13D3
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6370E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6370E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva