#6370EC#6370EC

#6370EC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.185 H 274.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6370EC
RGBrgb(99, 112, 236)
HSLhsl(234, 78%, 66%)
HSVhsv(234, 58%, 93%)
CMYKcmyk(58.1%, 52.5%, 0%, 7.5%)
CIE-LABlab(52.17, 31.05, -64.34)
CIE-LCHlch(52.17, 71.44, 295.76°)
OKLaboklab(59.97% 0.0157 -0.1843)
OKLCHoklch(59.97% 0.185 274.9)
XYZxyz(26.0752, 20.2952, 81.8839)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6370EC #ECDF63
analogous
#63B4EC #6370EC #9B63EC
triadic
#6370EC #EC6370 #70EC63
tetradic
#6370EC #EC63B4 #ECDF63 #63EC9B
square
#6370EC #EC63B4 #ECDF63 #63EC9B
split-complementary
#6370EC #EC9B63 #B4EC63
monochromatic
#1727BE #2C3EE5 #6370EC #9AA2F3 #D0D4F9

Accessibility & contrast

On white

4.15
#6370EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6370EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6370EC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6370EC#FFFFFF#000000##000000
##6370EC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482F0
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6370ec;
/* rgb */ color: rgb(99, 112, 236);
/* oklch */ color: oklch(60.0% 0.185 274.9);
Tailwind
colors: {
  custom: {
    50: '#9a99f3',
    500: '#6370ec',
    950: '#000000',
  },
}
SCSS
$custom: #6370ec;
$custom-light: #9a99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6370ec",
  "rgb": {
    "r": 99,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 234.307,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.18499,
    "h": 274.9
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#6370EC
secondary
#ECE8BF
accent
#C70BDB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6370EC

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

Preview Lab → · Contrast checker → · Palette generator →

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