#6370EA#6370EA

#6370EA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.182 H 274.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6370EA
RGBrgb(99, 112, 234)
HSLhsl(234, 76%, 65%)
HSVhsv(234, 58%, 92%)
CMYKcmyk(57.7%, 52.1%, 0%, 8.2%)
CIE-LABlab(52.04, 30.41, -63.43)
CIE-LCHlch(52.04, 70.34, 295.61°)
OKLaboklab(59.84% 0.0156 -0.1816)
OKLCHoklch(59.84% 0.182 274.9)
XYZxyz(25.7862, 20.1796, 80.3622)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6370EA #EADD63
analogous
#63B4EA #6370EA #9963EA
triadic
#6370EA #EA6370 #70EA63
tetradic
#6370EA #EA63B4 #EADD63 #63EA99
square
#6370EA #EA63B4 #EADD63 #63EA99
split-complementary
#6370EA #EA9963 #B4EA63
monochromatic
#1928BA #2D3FE3 #6370EA #99A1F1 #CFD3F9

Accessibility & contrast

On white

4.17
#6370EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6370EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6370EA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6370EA#FFFFFF#000000##000000
##6370EA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2882EE
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6370ea;
/* rgb */ color: rgb(99, 112, 234);
/* oklch */ color: oklch(59.8% 0.182 274.9);
Tailwind
colors: {
  custom: {
    50: '#9a98f1',
    500: '#6370ea',
    950: '#000000',
  },
}
SCSS
$custom: #6370ea;
$custom-light: #9a98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6370ea",
  "rgb": {
    "r": 99,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 234.222,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.18231,
    "h": 274.9
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#6370EA
secondary
#EBE7BE
accent
#C50DD8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6370EA

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

Preview Lab → · Contrast checker → · Palette generator →

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