#6374EB#6374EB

#6374EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.179 H 273.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6374EB
RGBrgb(99, 116, 235)
HSLhsl(233, 77%, 65%)
HSVhsv(233, 58%, 92%)
CMYKcmyk(57.9%, 50.6%, 0%, 7.8%)
CIE-LABlab(53.10, 28.30, -62.28)
CIE-LCHlch(53.10, 68.41, 294.44°)
OKLaboklab(60.66% 0.0116 -0.1782)
OKLCHoklch(60.66% 0.179 273.7)
XYZxyz(26.3815, 21.1396, 81.2713)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6374EB #EBDA63
analogous
#63B8EB #6374EB #9663EB
triadic
#6374EB #EB6374 #74EB63
tetradic
#6374EB #EB63B8 #EBDA63 #63EB96
square
#6374EB #EB63B8 #EBDA63 #63EB96
split-complementary
#6374EB #EB9663 #B8EB63
monochromatic
#182CBC #2D44E4 #6374EB #99A4F2 #CFD5F9

Accessibility & contrast

On white

4.02
#6374EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#6374EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6374EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6374EB#FFFFFF#000000##000000
##6374EB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EF
Deuteranopia (green-blind)
#1479E9
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6374eb;
/* rgb */ color: rgb(99, 116, 235);
/* oklch */ color: oklch(60.7% 0.179 273.7);
Tailwind
colors: {
  custom: {
    50: '#9a9bf2',
    500: '#6374eb',
    950: '#000000',
  },
}
SCSS
$custom: #6374eb;
$custom-light: #9a9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6374eb",
  "rgb": {
    "r": 99,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 232.5,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.17859,
    "h": 273.7
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

primary
#6374EB
secondary
#ECE6BE
accent
#C00CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6374EB

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

Preview Lab → · Contrast checker → · Palette generator →

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