#6374EF#6374EF

#6374EF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.184 H 273.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6374EF
RGBrgb(99, 116, 239)
HSLhsl(233, 81%, 66%)
HSVhsv(233, 59%, 94%)
CMYKcmyk(58.6%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.36, 29.60, -64.10)
CIE-LCHlch(53.36, 70.61, 294.78°)
OKLaboklab(60.93% 0.012 -0.1836)
OKLCHoklch(60.93% 0.184 273.7)
XYZxyz(26.9659, 21.3733, 84.3491)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6374EF #EFDE63
analogous
#63BAEF #6374EF #9863EF
triadic
#6374EF #EF6374 #74EF63
tetradic
#6374EF #EF63BA #EFDE63 #63EF98
square
#6374EF #EF63BA #EFDE63 #63EF98
split-complementary
#6374EF #EF9863 #BAEF63
monochromatic
#1429C4 #2B43E9 #6374EF #9BA5F5 #D2D7FA

Accessibility & contrast

On white

3.98
#6374EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6374EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6374EF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6374EF#FFFFFF#000000##000000
##6374EF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#007AEC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6374ef;
/* rgb */ color: rgb(99, 116, 239);
/* oklch */ color: oklch(60.9% 0.184 273.7);
Tailwind
colors: {
  custom: {
    50: '#9b9bf5',
    500: '#6374ef',
    950: '#000000',
  },
}
SCSS
$custom: #6374ef;
$custom-light: #9b9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6374ef",
  "rgb": {
    "r": 99,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 232.714,
    "s": 81.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60927,
    "c": 0.18397,
    "h": 273.7
  },
  "luminance": 0.21375
}

Semantic roles & 50–950 ramp

primary
#6374EF
secondary
#EEE8C0
accent
#C408DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6374EF

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

Preview Lab → · Contrast checker → · Palette generator →

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