#6168EB#6168EB

#6168EB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.3% C 0.194 H 276.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6168EB
RGBrgb(97, 104, 235)
HSLhsl(237, 78%, 65%)
HSVhsv(237, 59%, 92%)
CMYKcmyk(58.7%, 55.7%, 0%, 7.8%)
CIE-LABlab(50.02, 35.22, -67.26)
CIE-LCHlch(50.02, 75.92, 297.64°)
OKLaboklab(58.32% 0.0212 -0.193)
OKLCHoklch(58.32% 0.194 276.3)
XYZxyz(24.8706, 18.4383, 80.8295)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6168EB #EBE461
analogous
#61ADEB #6168EB #9F61EB
triadic
#6168EB #EB6168 #68EB61
tetradic
#6168EB #EB61AD #EBE461 #61EB9F
square
#6168EB #EB61AD #EBE461 #61EB9F
split-complementary
#6168EB #EB9F61 #ADEB61
monochromatic
#1820BA #2B34E4 #6168EB #979CF2 #CED0F9

Accessibility & contrast

On white

4.48
#6168EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6168EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6168EB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6168EB#FFFFFF#000000##000000
##6168EB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6168eb;
/* rgb */ color: rgb(97, 104, 235);
/* oklch */ color: oklch(58.3% 0.194 276.3);
Tailwind
colors: {
  custom: {
    50: '#9a93f2',
    500: '#6168eb',
    950: '#000000',
  },
}
SCSS
$custom: #6168eb;
$custom-light: #9a93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6168eb",
  "rgb": {
    "r": 97,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 236.957,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.19419,
    "h": 276.3
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#6168EB
secondary
#EBE9BD
accent
#CF0CDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6168EB

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

Preview Lab → · Contrast checker → · Palette generator →

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